Vim Learning the next day
1.W: Move backward one word, B: move forward one word, 3w, 3b ....
2.$: Moves the cursor to the end of the line, ^: Moves the cursor to the position of the first non-empty character of the line
3.FX: Looking backwards for the X character in the bank, FX: Looking forward for the X character in our bank
4.TX: Look backwards for the X character in the line, and the cursor is positioned in the first character of the X character. Tx: Looking forward to the line x character, the cursor positioned in the first character of X
5.3G: Navigate to the third row, 1G: Navigate to the first row, G: Navigate to the end of the file
6.:set number Displays line numbers,: Set Nonumber close line number display
7.ctrl + U: Scroll up half page, CTRL + D: Scroll down half page
8. DD: Delete one row, DW: Delete a word, d3w: delete three words, d$: Remove from cursor my position to the end of the line, 3DW: Delete three times
9. C: As with D, delete the character under the cursor, but the command will cause you to delete it in insert mode. CW: Delete A word, excluding the space after the word, DW: Delete a word and a space after it
10.. (one point): Represents the last command executed
J: Connect the current line and the next row in one line, separated by a space
Rx: Replace the character under the cursor with X, 5RX: replace 5 times (that is, the next five characters in the cursor position are replaced by X)
13. ~: Change the case of one character
Q + A to Z any character: Register and record a command (do not know how to express it clearly), @ + (A-Z): Use the command just now
Vim Learning the next day