1.vim Editor: Command mode, edit mode, extended mode
2. Command-line commands:
A. Delete cursor line: DD left undo: U Right undo: Ctr+r
B. Delete the down n rows (including the current line) where the cursor is located: NDD
C. Copy cursor line: YY copy cursor down n line: Nyy
D. Paste to the line next to the cursor: p paste the line on the row where the cursor is located: P
Paste N times: NP
Yy+p: Copy dd+p: Cut
e.0: Cursor is quickly positioned to the beginning of the line shift+$: Cursor quickly navigates to the end
Add: Terminal command Ctr+a jump to the beginning of the line, ctr+e to the end
F. Jump to the first line of the entire file: GG
Skip to the end line of the entire file: shift+g/g
Jump to N rows: n+shift+g/ng
G:wq Save and exit
H.set Nu Displays the line of the file
I. Jump to the top of the screen first character: H
Jumps to the first character of the line in the middle of the screen: M
Jumps to the first character of the bottom line of the screen: L
Sixth article: Vim editor