h move the cursor one character to
j move the cursor one character down
k move the cursor one character up
l move the cursor one character to
0 move to the beginning of a line
$ move to the end of a line
G move to the end of a file
1G move to the first line of a file
<ctrl-F> move down one screen
<ctrl-B> move up one screen
If you try to move somewhere that vi doesn't want to go, e.g. pressing
h when the cursor is in the left-most column, your terminal will
complain by either beeping or flashing the screen.
Find this site useful? Want to give something back?
Please notify owners of webpages with outdated links to these pages
© 1993-2001 Christopher C. Taylor