1. Need to install vim under the shell command to knock command Vimtutor IDE integrated development Environment 1.vim Three modes of operation A. Command mode B. Edit mode C. Last-line mode
1. Command mode-execute command
In this mode, you can enter commands to perform multiple functions. Controls the movement of the screen cursor, the deletion of characters, words, or lines, moving and copying a section and entering insert mode, or to last line mode.
2. Input pattern (Insert mode)-Enter text
VI is run, usually in command mode, type the following command to let VI exit the command mode, enter the input mode: I (i), A (a), O (o).
3. Last line mode-execute pending command
Save or Exit VI, or you can set the editing environment, such as looking for a string, listing line numbers ... such as In general, however, we simplify the VI into two modes when we use it, that is, the last-line mode is also counted in command-line mode.
Vim three modes +