DeleteType#

class DeleteType#

Passed to various keybinding signals for deleting text.

Fields#

class DeleteType
CHARS#

Delete characters.

DISPLAY_LINES#

Delete display-lines. Display-lines refers to the visible lines, with respect to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.

DISPLAY_LINE_ENDS#

Delete only the portion of the display-line to the left/right of cursor.

PARAGRAPHS#

Delete entire line. Like C-k in pico.

PARAGRAPH_ENDS#

Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).

WHITESPACE#

Delete only whitespace. Like M-in Emacs.

WORDS#

Delete words.

WORD_ENDS#

Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.