HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 6 469
Command Definitions P-R
REDO
Table 6-4 REDO Editing Samples
Edit Action
u First occurrence undoes the previous edits. The u must be in column one.
u Second occurrence undoes all edits on the current line. The u must be in column
one.
rxyz Replaces the current text with xyz starting at the position of r.
xyz Replaces the current text with xyz starting at the position of x.
ixyz Inserts xyz into the current line, starting at the position immediately before the
i.
ddd Deletes three characters, one above each d.
d xyz Deletes a single character above the d, skips one space, then replaces the current
text with xyz starting at the position of x.
ddixyz Deletes two characters, then inserts xyz in the current line in the position before
the i.
d d Deletes one character above the first d, skips two spaces, and deletes a second
character above the second d. It does not delete a range of characters.
d d>xyz Deletes a single character above the first d, skips two spaces, and deletes to the
end of the line beginning at the second d, and then appends xyz to the end of line.
>xyz Appends xyz to the end of the current line.
>ddxyz Deletes the last two characters from the end of the current line and then appends
xyz to the end of the line.
>rxyz Replaces the last three characters in the current line with xyz.
>ixyz Appends xyz to the end of the line. In this case, the i command is superfluous,
because > accomplishes the same result. Using >xyz would be sufficient.
c/ab/def Changes all occurrences of ab to def, starting at c.
c"ab" Deletes all occurrences of "ab" starting at c.
cxyz Replaces the current text with cxyz, starting at c. Because delimiters have been
specified (as they were in the previous two examples), this is a simple
replacement.
^wix Upshifts the word above the ^ and inserts an "x" at the end of the word it just
upshifted.
v/abc Starting at the position of v, downshifts all characters up to, but not including,
the "/", then replaces the "/" and the next two characters with "abc".
>dw^.dw Deletes the last word in the current line, recalculates the EOL, then upshifts all
characters up to, but not including, the dot (.), then deletes the word to the left of
the characters that were upshifted.