MPE/iX Shell and Utilities Reference Manual, Vol 2
vi(1) MPE/iX Shell and Utilities vi(1)
d deletes the object.
y yanks the object to the appropriate buffer; the original object is not changed. This
may be used to duplicate or copy objects.
< shifts the object left by the value of the variable shiftwidth. This operator al-
ways works on a line basis. This command replaces existing blanks and tabs at the
beginning of the line with the minimum number of tabs and spaces required to create
the new indent amount. count shifts count lines.
> shifts the object right by the value of the variable shiftwidth. This operator al-
ways works on a line basis. This command replaces existing blanks and tabs at the
beginning of the line with the minimum number of tabs and spaces required to create
the new indent amount. count shifts count lines.
! filters the object through an external command. After typing the object, the com-
mand line opens up for a system command which is parsed in the same manner as the
Ex system command (:!). This operator then invokes the given command and sends
the entire object on a line basis to that command. The object is then deleted and the
output from the command replaces it. For example, 1G!Gsort moves to the first line
of the file; then takes all the text from the first line to the last line and runs it through
the sort command.
Object Manipulator Abbreviations
To make things easier, vi supports the following shorthand commands. Each can be preceded
by count and/or by a buffer name to save the manipulated text.
C changes to the end of the current line. This is equivalent to the c$ command.
D deletes to the end of the current line. This is equivalent to the d$ command.
S substitutes current line. This is equivalent to the cc command.
s substitutes current character. This is equivalent to the cl command.
X deletes the previous character. This is equivalent to the dh command.
x deletes current the character. This is equivalent to the dl.
Y yanks current line. This is equivalent to the yy command.
Commands and Utilities 1-655