Vim commonly used shortcut keys collection

Word-level movement
b beginning of this word
e ending of this word


Line-level move
0 line beginning
$ end of line


Paragraph move
{previous paragraph
} next paragraph


Screen level movement
H First line of this screen (uppercase)
L Last line of this screen


Article level move
1G (gg) The beginning of the article
G The end of the article or :$
to the specified line 25gg or :25 :$


Page level move
Ctrl + b Scroll forward one page
Ctrl + f Scroll backward one page 


Other commonly used
Display line number::set nu
Withdrawal: u
Restore text as it is: uu
Delete line: dd
Delete 3 lines: d3d

Guess you like

Origin blog.csdn.net/weixin_38230961/article/details/107820581