Vim command
YY: The line where the cursor is copied
4YY: 4 rows starting at the beginning of the row where the copy is located
P: Paste
DD: The line where the cursor is clipped
2DD: Cut cursor line down 2 lines
DW: Cut a word
D: The contents of the current line after the cursor
X: Delete the current character backwards
X: Delete Current character forward
U: Undo
Ctrl+r: Anti-revocation
R: replace one character
R: Replace
H left J down k up L right
H: Top of current screen
M: middle of current screen
L: Below the current screen
Ctrl+f: Turn down one page of code
Ctrl+b: Turn up one page of code
Ctrl+d: Turn down half-page code
Ctrl+u: Turn up half-page code
20G: Quickly navigate to the 20th line of code
G: Quickly return to the last line of the entire code
GG: Fast back to the beginning of the entire code
W: Pick the length of a word backwards,
B: Pick the length of a word forward,
Select a piece of code
V: view mode cursor position HJKL
V: View mode cursor Line HJKL
.: Repeat the previous command
: Replace in colon mode
%s/a/b/g
Change a All to B
Vim command Accumulation