First, the basic operation of Vim.
Normal mode
The 1.h key moves the cursor 2 to the left. The J key moves the cursor 3 down. The K key moves up the cursor 4. L key to move the cursor to the right
5.x Key Delete the character of the cursor position 6.i key Insert text 7. DW The cursor moves to the beginning of the word and deletes the entire word
8.[number] +[command]+[object]
The 9.P key resets the character in the buffer at the cursor 10.R +[letter] to replace the single character 11 at the wrong cursor. [Number]+ C + [object] Change command, CW change Word, C $ change bank.
11.CTRL+G displays the number of rows and file information where the current cursor is located. shift+g jumps to the end line; [Number of rows]+shift+g jumps to the specified number of rows.]
/+ [XXXX] search for the specified field from the back, N continue to find the last lookup field; shift+ N finds 14 from the opposite direction. +[XXXX] search for the specified field from the back forward.
(The % key cursor is selected]}) after parentheses, press to see the corresponding brackets 16. : S/old/new Replacement
Linux third week (9.21-9.27) Learning notes