ERASE PREVIOUS WORD
Erases all of the previous word or all of the current word, depending on
your cursor position.
Steps:
1. Put the cursor right of the word you want to erase -- typically, on
the space between words.
2. Use the ERASE PREVIOUS WORD command.
Example:
The following shows the effects of ERASE PREVIOUS WORD with different
cursor positions on a line:
What I tell you three times is true.
| | | |
(1) (2) (3)
(1) At the start of a line, erases the carriage return for the
previous line, if any; the current line moves up. This is useful
to form paragraphs for FILL commands.
(2) Between words or on the first character of a word, erases the
previous word -- in this case, erases "tell" and the trailing
spaces or tabs.
(3) In the middle of a word, erases all of that word -- in this case,
erases "three" and the trailing spaces or tabs -- same as ERASE WORD.
o To reinsert what you erased, use the RESTORE WORD command.
o In editing a command line, a key defined as ERASE WORD (such as CTRL/J or
F13) works like ERASE PREVIOUS WORD. See help on Editing Command Lines.
Related topics:
ERASE START OF LINE ERASE WORD RESTORE RESTORE WORD