Like, it's all I'm used to.
Up or down: JKHL
Next word: w
First word: b
Next screen: Ctrl + F
Previous screen: Ctrl + B
Search some_string:/some_string
Replace the global some_string with new_string:%s/some_string/new_string/g
Continue search Next: N
Continue searching for previous: N (SHIFT + N)
Completion: CTRL + N, CTRL + P (next, previous abbreviation)
Remove one letter: X
Remove a word: DW
Delete a line: DD
Delete 3 lines: 3d
Copy a word: yw
Copy Current line: yy
Paste: P
Select N rows: Shift + V, then JK
Quickly open a file: Ctrl + T
Quickly open the previous file: Ctrl + E
Skip to file header: GG
Skip to end of file: Shift + G
What's new in front of the cursor: I (insert abbreviation)
What's new after the cursor: A (abbreviation for add)
Jump to the end of the line quickly: SHIFT + 4
Jump to the top of the line quickly: 0
Last edited by: G;
Next editing Place: G,
Undo Last Action: U
Restore previous action: Ctrl+r
Repeat the last command:.
Transform to uppercase: ~
Automatic typesetting: in command-line mode, first use "GG" to move the cursor to the beginning of the document, and then use "V" to switch to the visual mode, then "G" to move the cursor to the end of the document (equivalent to the full selection), and finally use "=" to complete the automatic layout of the document.
To comment the whole block of content comment blocks: the input of the line I//ESC I selected to comment on is inserted in front of the selected line until ESC. To remove the comment: Select the comment//, then the D column block is selected after I is inserted in front, a is inserted in the column block mode is selected, the row is selected, V is the normal selection
. tar.gz File Installation Method:
Unzip first, then go to the file directory, execute./config make sudo make install three instructions
Common operations for the Super editor--vim