Vim common commands and configurations

  
        

[i]: In the command line mode, press the [i] key to enter the insert mode, and the content can be entered.

[Esc]: Press the [Esc] key to return from the insert mode to the command line mode.

In the command line mode, [h] represents the cursor shifting to the left, [j] represents the cursor moving down, [k] represents the cursor moving up, and [l] represents the cursor moving right

[x] 】: Delete the character under the cursor.

[u]: Restore the last edit

[CTRL-R]: [u] Reverse operation of the command

Copyright © Windows knowledge All Rights Reserved