Delete (d)

delete lines

Syntax:

[line_range]d

Description:

This command deletes the specified range of lines from the text buffer and places them in the delete buffer.

If the line_range specifies more than one line to be deleted or the delete buffer contains a previous delete of a range of lines, then the delete buffer is purged before appending the new lines.

If a delete of a single line is requested and the delete buffer is empty or contains lines which have been deleted one by one, then this new line is inserted at the beginning of the delete buffer.

Current line:

Set to the address of the line after the last line deleted.

Condition register:

Not affected.