MPE/iX Shell and Utilities Reference Manual, Vol 2
vi(1) MPE/iX Shell and Utilities vi(1)
CTRL-R
redraws the screen, removing any deleted lines flagged with the @ convention.
CTRL-Z stops the editor and returns you to system level. You can return to the editor with the
fg command; however, when you resume a Vi session in this way, all of the session’s
buffers are empty. The jobs command lists all the stopped vi jobs. The amount of
available memory limits the number of Vi sessions that may be stopped at one time;
see fg(1), jobs(1).
CTRL-ˆ switches to editing the alternate file (see write under Ex Commands). If you attempt
this and you have not written out the file since you made the most recent change, vi
does not switch to the alternate file.
Insert Mode
The object manipulation command c, and the text insertion commands [AaIiOoRr] put Vi
into INSERT
mode. In this mode, most characters typed are inserted in the file. The following
characters have special meaning.
CTRL-D
decrements the autoindent for the current line by one level. This is only relevant if
the variable autoindent is on. See the Set Option Variables section for more de-
tails.
CTRL-H
BACKSPACE
deletes the last typed character. The character is not removed from the screen; how-
ever it is no longer in your file. When you backspace over characters, new text
overwrites the old ones. You are permitted to backspace to the start of the current
line regardless of where you started to insert text. (This is not true of some other ver-
sions of Vi.)
CTRL-J
CTRL-M
ENTER ends the current line and starts a new one.
CTRL-Q
CTRL-V
inserts the next character typed as that character instead of using its special meaning.
This is normally used to escape, say, the ESC character itself. It is impossible to es-
cape CTRL-J or the null character in your line.
CTRL-T increments the autoindent for the current line by one level. This is only relevant if
the variable autoindent is on.
1-658 Commands and Utilities