Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (v - z) vi(1)
^<Ctrl-d>
Ends autoindent for this line only.
0<Ctrl-d>
Moves the cursor back to the left margin.
<Ctrl-v>
Quotes a nonprinting character.
Changing Text from Command Mode
Use the following subcommands in Command mode. An incomplete subcommand can be can-
celled by pressing <Esc>.
C Changes the rest of the line (c$).
c Must be followed by a movement command. Deletes the specified region of text and
enters input mode to replace it with the entered text. If more than part of a single line
is affected, the deleted text is saved in the numeric buffers. If only part of the current
line is affected, the last character to be deleted is marked with a $. A count is passed
through to the move command. If the command is cc, the whole of the current line is
changed.
cc Changes a line.
cw Changes a word.
D Deletes the rest of the line (d$) and puts it into the undo buffer.
d Must be followed by a movement command. Deletes the specified region of text. If
more than part of a line is affected, the text is saved in the numeric buffers. A count is
passed through to the move command. If the command is dd, the whole of the current
line is deleted.
dd Deletes a line and puts it into the undo buffer.
dw Deletes a word and puts it into the undo buffer.
J Joins lines.
rx Replaces the current character with the character specified by x.
R Overwrites characters.
s Substitutes characters (cl).
S Substitutes lines (cc).
u Undoes the previous change.
x Deletes a character.
X Deletes characters before cursor (dh).
<< Shifts one line to the left.
<L Shifts all lines from the cursor to the end of the screen to the left. (The < character
describes a range upon which the L subcommand acts.)
>> Shifts one line to the right.
527188-004 Hewlett-Packard Company 10−13