vi and vim three common mode

1. Normal mode

In normal mode, we can use shortcut keys.

Vim to open a file directly into the general pattern of the (this is the default mode). In this mode, you can use the "up and down" button to move the cursor, you can use the "Delete character" or "delete the entire line" to handle the contents of the file, you can use

"Copy, Paste" to handle your data files.

 

2. Insert Mode / edit mode

In the mode, the programmer may enter content.

You will enter the edit mode after pressing any one letter i, I, o, O, a, A, r, R, etc., in general according to i

3. Command line mode

Among this mode, you can provide relevant instructions to complete the read, save, replace, leaving vim, display line numbers, etc. of action is reached in this mode!

Guess you like

Origin www.cnblogs.com/quanhaijie/p/12589303.html