Kkninjae Source: Http://www.cnblogs.com/kkninjae reprint Please indicate the source, thank you.
This note is a video learning note from the previous study of Vim, which is now organized here. (Note: This video is from YouTube and may have been deleted due to copyright reasons)
Symbol description
- [] Enter the command in square brackets and it will work immediately.
- <> Enter the command in angle brackets and press ENTER to function
- n If you do not make a statement, represent any non-negative integer
Basis
There are 3 basic modes in Vim: Command mode, view mode (visual), and insert mode.
When Vim is turned on by default to command mode, press the letter [i] into insert mode and press the letter [v] into the view mode. When Vim is in non-command mode, press [ESC] back to command mode.
In command mode, input <:w> and <:q> respectively save the file and exit the Vim operation.
In command mode, [H|j|k|l] corresponds to the left, top, bottom, and right cursor movements respectively.
Most of the command operations under basic Vim are done in command mode. (Careless to say a word of nonsense)
Fast Moving
Vim Adventure Journey Learning Notes