@ three states:
Command: Any input will be used as an edit command and will not appear on the screen, and any input will immediately cause a reaction.
Insert: Any input data as for the edit register, press ESC to jump back to common mode.
Escape: With ': ' or '/' as the leading instruction, appears on the bottom line of the screen, any input is treated as a special instruction.
@ Leave Vim:
: q! Discard the edited content and leave Vim
: Wq save content and leave vim
: X with Wq (note--:x is file encryption, be sure to match with: X Save the exit)
@ Enter input mode
A (append) is added by the cursor after the content.
A by the end of the line to add content.
I (insert) is added by the cursor before the content.
I Add the content to the first entry.
O (open) adds a line below the line for input data.
O add a new line to the line for the input data.
@ Delete and modify
x Delete the character where the cursor is located
X Delete a character before the cursor is located
VIM Command Summary