1, VIM Tutor enter--into the VIM tutorial Study 2, VIM filename return--Into the Vim editor 3, <esc>: q! Enter--Exit the Vim editor to save, then: Wq4, i--Normal mode, inserts text at the cursor position, into the text insertion state. <esc> return to normal mode.
Delete Class command5, x--Normal mode, delete the cursor location of the character 6, dw--Normal mode, remove from the cursor to the end of a word, including spaces. 7, de--Normal mode, delete from the cursor to the end of a word, not including spaces. 8, d$--Normal mode, delete from the current cursor to the end of the line. 9. dd--Normal mode, delete the line where the cursor is located. (In fact, the line in the Vim buffer, p can paste it out) 10, 2dd--Normal mode, delete two lines, and so on.
Undo Class Command11, u--Normal mode, undo the last command executed. 12, u--Normal mode, restore to the original state of the line. 13, ctrl-r--Normal mode, revoke the previous revocation command.
Replace/Change class commands (you can actually do the same with the delete command + insert command)14. Enter R and a character--replace the character where the cursor is located. 15, CW **--change part or all of a word. 16. C $ **--Change the cursor position to the end of the line. 17, CE **--change part or all of a word. (The above three commands refer to the Delete Class command). The above is the basic addition and deletion of the order, if necessary, will continue to learn other commands. For more tutorials, learn by command Vimtutor. Continued...........
Vim Learning Notes