Reprinted please indicate this blog from "LIU Da csdn blog": http://blog.csdn.net/poechant
1. cursor character operations
J
Down
K
Up
H
Left
L
Right
$
Move the cursor to the end of the line. Pay attention to the shift key.
0
Move cursor to the beginning of line (home)
^
Move the cursor to the first non-blank character (home) in the row. Press shift.
2. cursor word operations
W
Move cursor to the first word of the last word
W
Move cursor to the first word of the last word and ignore punctuation
E
Move the cursor to the end of the last word
E
Move the cursor to the end of the last word and ignore punctuation marks.
B
Move cursor to the first word of the previous word
B
Move the cursor to the first word of the previous word and ignore punctuation marks.
3. cursor sentence Operations
)
Move the cursor to the beginning of the last sentence
(
Move the cursor to the beginning of the previous sentence
%
Used with "(" and ")" to find the matching half
4. cursor Row Operations
G
Move the cursor to the first non-blank character in the last line of the document
NG
Move the cursor to the nth line of the document, which is equivalent to ": N"
Gg
Move the cursor to the first non-blank character in the first line of the document, equivalent to "1G", also equivalent to ": 1"
<N>
Move the cursor down n rows
5. Optical section operations
}
Move the cursor to the beginning of the next segment
{
Move the cursor to the beginning of the previous segment
%
Used with "(" and ")" to find the matching half
6. cursor page operations
CTRL + F
Pagedown)
CTRL + B
Pageup)
CTRL + d
Flip down half page
CTRL + u
Half page up
H
Move cursor to the first line of the current display page
M
Move cursor to the middle line of the current display page
L
Move cursor to the last line of the current display page
7. freely operate the cursor
CTRL + O
Return to the previous position of the cursor
Reprinted please indicate this blog from "LIU Da csdn blog": http://blog.csdn.net/poechant
-