In this and next section we discuss commands for moving around in the buffer. These command do not change the content of the buffer. The following commands are useful for viewing the content of the current buffer.
Scroll text of current window upward almost full screen. You can go
forward in the buffer by this command (vip-scroll
).
Scroll text of current window downward almost full screen. You can go
backward in the buffer by this command (vip-scroll-back
).
Scroll text of current window upward half screen. You can go
down in the buffer by this command (vip-scroll-down
).
Scroll text of current window downward half screen. You can go
up in the buffer by this command (vip-scroll-up
).
Scroll text of current window upward by one line (vip-scroll-down-one
).
Scroll text of current window downward by one line (vip-scroll-up-one
).
You can repeat these commands by giving a count. Thus, 2 SPC has the same effect as SPC SPC.
The following commands reposition point in the window.
Put point on the top (home) line in the window. So the current line
becomes the top line in the window. Given a count n, point will be
placed in the n-th line from top (vip-line-to-top
).
Put point on the middle line in the window. Given a count n,
point will be placed in the n-th line from the middle line
(vip-line-to-middle
).
Put point on the bottom line in the window. Given a count n,
point will be placed in the n-th line from bottom
(vip-line-to-bottom
).
Center point in window and redisplay screen (recenter
).