Vim basic buttons

mobile

w/W: move to the beginning of the next word
e/E: move to the end of the next word
b/B: move to the beginning of the word
gg: move to the beginning of the file
G: move to the end of the file
^U: turn up Page
^D: Page up

edit

o: Insert row below
O: Insert row above
dd: Delete row
cc: Clear current row and enter insert mode

copy and paste

yy: copy the current line
p: paste to the appropriate position behind the cursor

Key combination

d+X
c+X: delete and enter insert mode
y+X

select

v: enter visual mode
V: enter visual mode, and select by line
^v: enter visual mode, and select by block

other

~: Convert case

count

Number + key combination: execute several times

Modifier

a:around
i:inside

Guess you like

Origin blog.csdn.net/w112348/article/details/113246024