DELETE
Deletes the character left of the cursor, or if pending delete is enabled,
deletes the select range.
Steps:
1. Put the cursor right of the character you want to delete.
2. Use the DELETE command or press the DELETE key (<X]).
o In insert mode, deletes the character; the rest of the line moves left.
In overstrike mode, replaces the character with a space; the rest of
the line does not move. (See help on the CHANGE MODE command.)
o At the start of a line -- regardless of the mode -- deletes only the
carriage return for the previous line, if any; the current line moves
up. This is useful to delete blank lines to form paragraphs for FILL
commands.
o To put back the deleted character, use the RESTORE CHARACTER command.
o To delete a select range (pending delete), do the following steps:
1. Use the SET PENDING DELETE command. (The default setting is
NOPENDING DELETE.)
2. Select the text you want to delete. (See help on SELECT.)
3. Use DELETE or press the <X] key.
o To reinsert what you deleted, use the RESTORE SELECTION command.
Related topics:
ERASE CHARACTER INSERT MODE OVERSTRIKE MODE
RESTORE CHARACTER RESTORE SELECTION SET PENDING DELETE