This command deletes the currently selected region. If the
deletespaces option is set to
on, then
delete_mark will also remove a space if the deletion would result in two consecutive spaces. The deleted region is moved to the paste buffer specified. If no buffer name is supplied, the current paste buffer is used (see
set paste=buffername). If the
buffername is
null, the selection is deleted without being copied to a paste buffer. If the
-append option is selected, text is inserted at the end of the buffer rather than completely replacing its contents. This command corresponds to the
Delete menu item on the default
Edit menu.