h or LEFT ARROW key (←) The cursor moves one character to the left
J or DOWN ARROW key (↓) cursor moves down one character
K or Up ARROW key (↑) The cursor moves up one character
L or right ARROW key (→) the cursor moves one character to the right
[Ctrl] + [f] screen "down" to move one page, equivalent to [PAGE DOWN] key (common)
[ Ctrl] + [b] screen "Up" move one page, equivalent to [PAGE UP] key (common)
[Ctrl] + [d] screen "Down" move half page
[Ctrl] + [u] screen "Up" move half page
+ cursor moves to the next column of non-whitespace characters
- cursor moves to the previous column of non-whitespace characters
The n + SPACEBAR cursor moves the n characters of this column to the right
0 or function key [Home] move to the front of this column prompt (common)
$ or Function key [end] moves to the last face of this column prompt (common)
H The first character of the column that the cursor moves to the top of the screen
The first character of the column that the M cursor moves to the center of this screen
L The first character of the column that the cursor moves to the bottom of the screen
G move to the last column of this file (common)
NG moves to the nth column of this file
GG moves to the first column of this file, equivalent to 1G
n<enter> cursor moves down n columns
This article is from the "unspeakable" blog, please be sure to keep this source http://limeixiong.blog.51cto.com/1888920/1973627
VI Use-the method of moving the cursor