There are several models which Vim?
Mode 1: normal mode
Role is mainly used to browse, a variety of input and move in the document.
Mode 2: Edit mode
Editing for file:
common insert commands:
A after the cursor position editing,
I before the cursor position editing,
O next line is inserted;
A the end of the editing cursor line,
the I edited in the first line of the cursor line,
O the cursor is located on the line of the edit.
Mode III: command mode
Before entering the edit mode, you can enter: set nu set the line number for the document.
The original document
set up after the line number
wq write quit
vs vertical split screen
sp horizontal split-screen
SUMMARY% s / original language / replace / g
Model 4: Model Visualization
The main role is to select a block of text.
There are three ways to enter visual mode:
1.Normal mode using v enters Visual mode;
### V use the selected row
### using Ctrl + v
###注:此系列文章都是学习的记录,对个人学习的总结,如果错误还望指出,菜鸟一枚。