1. Just enter command mode
2. I enter insert mode
You can only enter content in insert mode, if you want to delete the content, you need to switch to the command line mode and move the cursor to delete.
3. ESC exit Insert mode to enter command line mode
4.: Enter last line mode
Save and exit: Enter in command-line mode: (colon)
: w filename is saved with the specified file name
: Wq Save and exit
: q! Exit directly without saving
———————————————————————————
1. Insert mode
A insert at the next position in the current cursor position
o Insert a new line and enter it from the beginning
2. Move the cursor
G move to the end of the article
^ Move to the beginning of the line
$ move to end of line
3. Delete text
X Delete a text after the cursor
X Delete the previous text of the cursor
DD Delete the line where the cursor is located
Vim Entry-level use