All Manuals > LispWorks Editor User Guide > 3 Command Reference


3.9 Deleting and killing text

There are two ways of removing text: deletion, after which the deleted text is not recoverable (except with the Undo command); and killing, which appends the deleted text to the kill ring, so that it may be recovered using the Un-Kill and Rotate Kill Ring commands. The first section contains details of commands to delete text, and the second details of commands to kill text.

Note that, if Delete Selection Mode is active, then any currently selected text is deleted when text is entered. Delete Selection for details.

The use of prefix arguments with this set of commands can be very useful. In general, using a negative prefix argument repeats these commands a certain number of times in the opposite logical direction. For example, the key sequence Ctrl+U 10 AltMetaMeta+D deletes 10 words after the current point, but the key sequence Ctrl+U -10 AltMetaMeta+D deletes 10 words before the current point.

3.9.1 Deleting Text

3.9.2 Killing text

LispWorks Editor User Guide (Unix version) - 3 May 2011