Vi ---> Display commands |
|
^G | Give file name, status, current line number
| and relative position.
^L | Refresh the screen (sometimes `^P' or `^R').
^R | Sometimes vi replaces a deleted line by a `@',
| to be deleted by `^R' (see option `redraw').
[*]^E | Expose <*> more lines at bottom, cursor stays
| put (if possible).
[*]^Y | Expose <*> more lines at top, cursor stays put
| (if possible).
[*]^D | Scroll <*> lines downward
| (default the number of the previous scroll;
| initialization: half a page).
[*]^U | Scroll <*> lines upward
| (default the number of the previous scroll;
| initialization: half a page).
[*]^F | <*> pages forward.
[*]^B | <*> pages backward (in older versions `^B'
| only works without count).
z- | Move current line to bottom of the screen.
z. | Move current line to the center of the screen.
/string/z- | Move line with string in it to the bottom of
| the screen.
If in the next commands the field <wi> is present, the windowsize
will change to <wi>. The window will always be displayed at the
bottom of the screen.
[*]z[wi]<cr> | Put line <*> at the top of the window
| (default the current line).
[*]z[wi]+ | Put line <*> at the top of the window
| (default the first line of the next page).
[*]z[wi]- | Put line <*> at the bottom of the window
| (default the current line).
[*]z[wi]^ | Put line <*> at the bottom of the window
| (default the last line of the previous page).
[*]z[wi]. | Put line <*> in the center of the window
| (default the current line).
See also Move Commands.
Please notify owners of webpages with outdated links to these pages
|
|
This section is based on "Vi Reference" by Maarten Litmaath et al.
Find this site useful? Want to give something back?
© 1993-2001 Christopher C. Taylor
|