The following commands permit the current window to show a
portion (usually 23 lines) of the consecutive lines of a file.
Suppose we have a file that is 80 lines long. and that the current
screenful is showing lines 31-53 inclusive. (You can see the line
numbers symbolically by typing :set number in command mode)
Command Effect Showing
------- ------ -------
^B Move (screenful-1) lines 9-31
back towards top
of file. Cursor on: line 31
^F Move (screenful-1) lines 53-75
forward towards end
of file. Cursor on: line 53
^U Move (half-screenful) lines 20-42
back towards top
of file. Cursor on: line 31
^D Move (half-screenful) lines 42-64
forward towards end
of file. Cursor on: line 53
1G Move to top screenful lines 1-23
of file.
Cursor on line: line 1
nG Move to Screen lines (n-11 to n+11)
centered around
line n. Cursor on: line n
G Move to bottom lines (last line-23) - last line
screenful of file
Cursor on: last line
Questions? Robert Katz: katz@ned.highline.edu
Last Update June 18, 2003