You are on page 1of 4

Inserting and Appending Text

describes the commands that you can use to insert and append, text to a file using thevieditor. These
commands switch the system to the edit mode. To return to the command mode, press Escape.

Comand Function
a Appends text after the cursor
A Appends text at the end of the line
i Inserts text before the cursor
I Inserts text at the beginning of the line
o Opens a new line below the cursor
O Opens a new line above the cursor
:r filename Inserts text from another file into the current file

Moving the Cursor Within theviEditor
shows the key sequences that move the cursor in thevieditor..