Cursor control command
Command cursor Movement
H or ^ h move one character to the left
J or ^ n move down a row
K or ^ p move up a row
L or move one character to the right by Space
G move to the last row of the file
NG moves to the nth line of the file
W moves to the beginning of the next word
W moves to the beginning of the next word, ignoring punctuation
B is moved to the beginning of the previous word
B moves to the beginning of the previous word, ignoring punctuation marks
L move to the last line of the screen
M moves to the middle line of the screen
H move to the first line of the screen
E move to the end of the next word
E. Move to the end of the next word and ignore punctuation marks.
(Move to the beginning of a sentence
) Move to the end of the sentence
{Move to the beginning of a paragraph
} Move to the beginning of the next paragraph
0 or | move to the first column of the current row
N | column n to the current row
^ Move the first non-null character to the current row
$ Move to the last character of the current row
+ Or return refers to the first character in the next line.
-Move to the first non-null character in the previous line