Home

Delete

Delete text at specific positions

Similar to the select commands but to delete from Selection.active to the target position.

Available commandsDelete

Nameiddescription
Line StartcursorPlus.delete.lineStartDelete to start of line
Up Line StartcursorPlus.delete.upLineStart└─ of previous line
Down Line StartcursorPlus.delete.downLineStart└─ of next line
Text StartcursorPlus.delete.textStartDelete to first non-whitespace character
Up Text StartcursorPlus.delete.upTextStart└─ in previous line
Down Text StartcursorPlus.delete.downTextStart└─ in next line
Text EndcursorPlus.delete.textEndDelete to last non-whitespace character
Up Text EndcursorPlus.delete.upTextEnd└─ in previous line
Down Text EndcursorPlus.delete.downTextEnd└─ in next line
Line EndcursorPlus.delete.lineEndDelete to end of line
Up Line EndcursorPlus.delete.upLineEnd└─ of previous line
Down Line EndcursorPlus.delete.downLineEnd└─ of next line
LinecursorPlus.delete.lineDelete line content
Up LinecursorPlus.delete.upLine└─ previous line
Down LinecursorPlus.delete.downLine└─ next line
TextcursorPlus.delete.textDelete from first non-whitespace to last character
Up TextcursorPlus.delete.upText└─ on previous line
Down TextcursorPlus.delete.downText└─ on next line
Entire LinecursorPlus.delete.entireLineDelete the entire line
Up Entire LinecursorPlus.delete.upEntireLine└─ previous line
Down Entire LinecursorPlus.delete.downEntireLine└─ next line
WrappercursorPlus.delete.wrapperChoose a delete command from a quick-pick menu

Wrapper command?

Learn more in the Wrapper command documentation.

ArgsDelete

This command takes no arguments.

ExamplesDelete

Keyboard shortcutExamplesDelete

keybindings.json
[
  {
    "key": "ctrl+l ,",
    "command": "cursorPlus.delete.text",
    "when": "editorTextFocus"
  }
]

VideoExamplesDelete

ConfigurationDelete

This command has no configuration.