My main blog: half an acre of fangtang
1. Repeat the previous operation in Normal Mode.Command
2. Cancel the previous operation and use it in normal mode.uCommand
3. Delete the entire row in Normal ModeddCommand, this command does not enter the insert mode after deleting the line
4. Delete the entire row in Normal ModeSCommand to enter the insert mode after deleting a row
5. delete a word in Normal ModedwCommand, this command does not enter the insert mode after deleting a word
6. delete a word in Normal ModecwCommand to delete a word and enter the insert mode
7. Delete the letters at the cursor position in normal mode.xCommand to delete letters without entering the insert mode
8. Delete the letters at the cursor position in normal mode.sCommand to delete letters and enter the insert mode
9. Insert the next line in the row where the cursor is located in Normal ModeoCommand to enter the insert mode
10. Insert the last line of the row where the cursor is located in normal modeOCommand to enter the insert mode
11. Insert the cursor at the next position in normal mode.aCommand to enter the insert mode
12. move the cursor to the position of the last letter at the end of the row.$Command, which does not enter the insert mode
13. move the cursor to the next position of the last letter at the end of the row for insertion.ACommand to enter the insert mode
14. move the cursor to the first position of the row for insertion.ICommand to enter the insert mode
15. repetitive operations within a large scale generally need to be performed in the command line mode.:normalFor example, to comment out all the code:%normal i//,:normalThe command moves the cursor to the beginning of the line in the selected area no matter where it is.:%normal i//And:%normal I//The results are the same,%Indicates the scope of all documents
16. indent all the ranges from the row where the cursor is located to the end of the file in Normal Mode>GCommand, which does not enter the insert mode
17. You can use:cd ...Command. This command is similar to that in shell.:open filesnameCommand to replace filesname with the corresponding file name
Vim common skills Summary 1