RESTORE SELECTION
Restores (undeletes) what you last erased with pending delete or with
DECwindows Quick Copy (CTRL/MB3CLICK or CTRL/MB3DRAG).
Steps:
1. Put the cursor where you want to insert what you erased.
2. Use RESTORE SELECTION.
Usage notes:
o By default, RESTORE SELECTION inserts text, pushing existing text to
the right or down.
o SET BOX SELECT makes RESTORE SELECTION the same as RESTORE BOX
SELECTION, usually overwriting existing text. If you used SET BOX
NOPAD, restoring a box into an insert-mode buffer pushes existing text
to the right---useful to add a column in the middle of a table.
o RESTORE SELECTION does not rewrap text. Depending on where and how
much text you restore, your text may go past the right margin or even
out of view. To reformat your text, use FILL.
o If you enable pending delete---and particularly if you save the setting
in your section file or command file---you may want to define
GOLD-DELETE or some other key as RESTORE SELECTION, to make it easier
to put back the erased text.
Related topics:
Pending Delete Quick Copy Ranges And Boxes
RESTORE BOX SELECTION SET BOX SELECT SET PENDING DELETE