Modes of Operation

"vi" has two modes of operation, insert mode and command mode. When you first enter "vi" you will automatically be placed in command mode. All of the "vi" editing commands are entered while in this mode. You can make certain you are in command mode by pressing the [ESC] key on your terminal. If you are already in command mode, no harm will be done by entering this mode again. You can exit command mode and enter insert mode by entering one of the insert commands.

Click here to go to the next section.

Or click here to go to the top of the chapter.