Next Prev Up Top Contents Index

3.8.1 Deleting Text

Delete Next Character

Editor Command

Arguments: None
Key sequence: Ctrl+D

Deletes the character immediately after the current point.

Delete Previous Character

Editor Command

Arguments: None
Key sequence: Delete

Deletes the character immediately before the current point.

Delete Previous Character Expanding Tabs

Editor Command

Arguments: None
Key sequence: None

Deletes the character immediately before the current point, but if the previous character is a Tab , then this is expanded into the equivalent number of spaces, so that the apparent space is reduced by one.

A prefix argument deletes the required number of characters, but if any of them are tabs, the equivalent spaces are inserted before the deletion continues.

Delete Horizontal Space

Editor Command

Arguments: None
Key sequence: +\

Deletes all spaces on the line surrounding the current point.

Just One Space

Editor Command

Arguments: None
Key sequence: +Space

Deletes all space on the current line surrounding the current point and then inserts a single space. If there was initially no space around the current point, a single space is inserted.

Delete Blank Lines

Editor Command

Arguments: None
Key sequence: Ctrl+X Ctrl+O

If the current point is on a blank line, all surrounding blank lines are deleted, leaving just one. If the current point is on a non-blank line, all following blank lines up to the next non-blank line are deleted.

Delete Region

Editor Command

Arguments: None
Key sequence: None

Delete the current region. Also available via editor:delete-region-command .


LispWorks Editor User Guide - 14 Dec 2001

Next Prev Up Top Contents Index