FRM: http://www.linuxidc.com/Linux/2013-05/84031p2.htm
Learn about the three basic modes of VIM
When we finish installing an editor, we will definitely open it and then enter something in it, but after you open vim, you want to enter something and find that you have nothing to input, so before you write something, first understand the three basic modes of VIM.
(1) Normal mode
When you start Vim, VIM will be in normal mode. In the normal mode of vim, all keys are function keys, the following is attached to the VIM accelerator distribution map.
(2) Insert mode
In normal mode, press I on the keyboard to type Insert mode (of course, there are other ways, such as pressing A, O, O, etc., I is the most common method), when you see the-insert-font in the lower left corner of vim, you have entered the VIM insert mode. In insert mode, you are free to enter what you want to enter, just like with other editors ~
(3) Visual mode
In normal mode, press the V key on the keyboard to enter visual mode. In visual mode, you can select a portion of a file for deletion, copying, and so on.
Switching between the three Vim three basic modes
(1) Normal <-> Insert
In normal mode, press I on the keyboard to enter insert mode
In insert mode, press ESC on your keyboard to return to normal mode, and if you are not sure if you are in normal mode, you can press the ESC key multiple times
(2) Noraml <-> Visual
In normal mode, press V on the keyboard to enter visual mode
In visual mode, press the ESC key on your keyboard to return to normal mode (you can also press the V key again)
Well, to this end, has completed the study of VIM preparation project, ready to formally begin to learn vim ...
Vim use 1