Skip to main content


Vim stands for Vi Improved. This text editor is found in UNIX based operating systems. It has many commands to create new files and edit the configuration files of an operating system.

Vim modes

Once you create or open a file in VIM, the editor displays a message. VIM has modes:

Command mode

The file in VIM is opened in the command mode. This mode helps to address the file using insert, delete and append. This also allows us to search in the files, move or navigate in the open file. Though the command mode allows you to insert, it is opened as the reading mode. To take action on the file, you need to issue the command by typing : and command.

Insert mode

This mode is displayed as ——insert—— at the bottom of the VIM. This allows you to type or use arrow keys to insert and navigated in the system. You can easily move from insert mode to command mode by using [Esc]

As VIM is not designed for staying on insert mode for long hours, either save while working or avoid insert mode for a long time.