vi commands to learn (a)

Mobile inline] 
w word move back one word 
b back · to move forward one word 
0                                                            of the line
 ^                                                            beginning of the line, the first position is not a blank character 
$ end of line 


[line number] to move 
the top of the file gg go 
G go to end of file 
numbers gg go to the number corresponding to the number of rows move 
digital number G go to a corresponding number of rows moved 
: digital mobile number corresponding to the number of rows



 
[move] screen
Ctrl + B Back page up 
Ctrl + F Forward Down 
H Head top of the screen 
intermediate M Middle of the screen 
at the bottom of the screen L Low 


[paragraph] move 
[the] a { 
{}} at a 
bracket switch
 % matching brackets and switch

 

Guess you like

Origin www.cnblogs.com/cxl-93/p/11083542.html