VIM commonly used shortcuts summary

h l cursor left cursor right one space a grid cell j The cursor moves one space move the cursor k on.

inserting a writing additional writing i o O write current cursor next line write current cursor line.

 

dd removed when the row below the row ndd removed when n rows, but is stored in the cache vim, copy and paste can be used to complete p.

yy copy when copying the row when the row below nyy n lines, with the use of p.

The next word w b a a word, Ctrl + b Next Previous Ctrl + f G gg Home head footer.

u vim back next time content recovery function Ctrl + r just rolled back.

 

/ Start the search, with a forward backward n N a.

 

Guess you like

Origin www.cnblogs.com/yuzhengya/p/11818744.html