Whenever text is deleted with the any of the above commands it is stored in a ``delete buffer'' Any text stored in this buffer can be restored with the undelete command. The manner in which Ved uses its delete/undelete buffer may be different from other editors you have used-however, we have found it very useful in years of daily use.
Ved uses ten buffers for deletions10.1. These are arranged in a stack fashion so that you can restore up to ten separate deletions. If there is not enough free memory to store the deleted section of your file you will be asked if you wish to proceed with the deletion. Note that only ten delete buffers can be active at any time; when the eleventh deletion is done the first buffer is overwritten and the data currently in that buffer is permanently lost.
Please note that undelete does not necessarily restore the buffer to its original contents. It will if you do a delete/undelete without moving the cursor. But undelete does not track the position of deletes, so the restore will not always restore the buffer. It will always restore what you deleted ... but not necessarily in the ``correct'' location.
Block and position pointers are not saved in the delete buffers, nor are single characters deleted with the delete-character and backspace-delete keys.