Moving by Line Position
Enter the following subcommands in command mode. If you need information about the format of vi
subcommands, see General Subcommand Syntax.
H
- Moves the cursor to the top line on the screen.
L
- Moves the cursor to the last line on the screen.
M
- Moves the cursor to the middle line on the screen.
+
- Moves the cursor to the next line at its first nonblank character.
-
- Moves the cursor to the previous line at its first nonblank character
Enter
- Moves the cursor to the next line at its first nonblank character.