Several types of commonly used keys
The up and down or so
H please
L –
K write
J left
Row to jump
NG the first n rows
The first line of gg
The last line of G
CTRL + O Last position
Inline jump
W The beginning of the next word
E The end of the current word
B Start with the previous word
End of the word before ge
0 outfit
$end-of-line
F < letter > searches backwards for < letter > and jumps to the first matching location
F< letter > searches forward for < letter > and jumps to the first matching location
Copy and paste
Yy copies the entire line
P Paste backwards
P Paste forward
Dd shear
DDP switches upstream and downstream
delete
Dw /daw deletes a word
DNW Deletes n words
3DD deletes 3 rows down
replace
R < letter > Replaces the cursor letter with the specified letter
R Replace continuously until Esc is pressed
Cw replaces an English word. After typing, press Esc
~ Case conversion
U Undo the previous operation
To find the
/< string > look down
N Find the next one
? < string > Look up
N Find the last one
In the cli mode, enter noh to exit the search
The indentation
Indent to the right
< < the left
Le Left aligned (command line mode)
Ce center aligned (command line mode)
Ri right-aligned