Use vim commonly used commands

1. Enter insert mode

command Explanation
i Edited in the current cursor position
I First insert the line
A The insertion end of the line
a Insert editing cursor
o After the current line to insert a new row
O Before the current line to insert a new row
cw Replacement character to the end of a word from the cursor position

2. cursor

button Explanation
h left
l Right (lowercase L)
j under
k on
w Move to the next word
b Move to the previous word
Published 23 original articles · won praise 2 · views 10000 +

Guess you like

Origin blog.csdn.net/wenson0705/article/details/104814732