command branding logo

Vim Editor

Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Vim Editor Commands List

Command Name
Command
Command Description
Insert Mode
i
Press i to enter insert mode. You can now type in the text. In Editor
Exit Insert Mode
esc
Press esc to exit insert mode and return to normal mode
Save Changes
:w
Save changes to the file
Save and Exit
:wq
Save changes and exit the editor
Exit Without Saving
:q!
Exit the editor without saving changes
Undo
u
Undo the last change
Redo
ctrl + r
Redo the last change
Exit and Quit All
:qa!
Exit and quit all files without saving changes