6.2.1. Two modes
The vi editor is a very powerful tool and
has a very extensive built-in manual, which you can activate using
the :help command when the program is
started (instead of using man or info, which don't contain nearly as much
information). We will only discuss the very basics here to get you
What makes vi confusing to the beginner
is that it can operate in two modes: command mode and insert mode.
The editor always starts in command mode. Commands move you through
the text, search, replace, mark blocks and perform other editing
tasks, and some of them switch the editor to insert mode.
This means that each key has not one, but likely two meanings:
it can either represent a command for the editor when in command
mode, or a character that you want in a text when in insert
It's pronounced "vee-eye".