Linux --- vim to edit text files

1.vim operating mode

  • Normal mode: In this mode can quickly move the cursor position, the text editing can be performed fast, but the content can not be input in the text;
  • Insert Mode: This mode is for insertion in the text, the mode is commonly used when a text input;
  • Command mode: no, only to perform some common commands for editing text in this mode, such as save and exit.

2. Move the cursor shortcuts

3. Edit the shortcut keys 

4. Insert shortcuts

 

5. Common Commands 

 

Guess you like

Origin www.cnblogs.com/nxf-rabbit75/p/11718981.html