Tag: equals ' function ' defines command height positioning meaning character shortcut
One. Cursor movement
^ to the first non-whitespace character of the line.
+ to the first non-whitespace character at the next line
-to the first non-whitespace character on the previous line
`. To last modified point
<c-o> to the last position, <c-i> return to the later position
M{A-Z} Mark I one position, ' {A-Z} back to the location of the tag
"To a marker at the cursor
: N+enter to Nth row (equals ng), n+enter to the nth row below
GD to function definition (temporarily unused)
W After the beginning of a word, w after the beginning of a word (ignoring punctuation)
W After the end of a word, w after the end of a word (ignoring punctuation)
B Before the beginning of a word, b the beginning of a word (ignoring punctuation)
FX to the first occurrence of X position in the bank
Nfx to the position of the first nth occurrence of the bank X
Two. Screen positioning
<c-e> roll a line on the screen
<c-y> scrolling down one line
ZZ Current line as Screen Center
ZT current line as top row of screen
ZB the current row as the bottom row of the screen
(above three commands plus a number, meaning "nth line")
Three. Indent in
>> Backward indent,<< forward indent
= = Automatic Alignment
Four. Multi-window
<c-w> n + Increase the current window n row height
<c-w> N-Reduce the current window n row height
<c-w> n > Increase current window n column width
<c-w> N < reduce current window N column width
<C-W>+R/X/R with the window next to the rotation
<C-W>+H/J/K/L move the current window to the top edge and occupy all width/height
Vim's quick action