Home

Select

Select text between cursor and target position

Similar to the move commands but to select from Selection.anchor to the target position.

Available commandsSelect

Nameiddescription
Line StartcursorPlus.select.lineStartSelect to start of line
Up Line StartcursorPlus.select.upLineStart└─ in previous line
Down Line StartcursorPlus.select.downLineStart└─ in next line
Text StartcursorPlus.select.textStartSelect to first non-whitespace character
Up Text StartcursorPlus.select.upTextStart└─ in previous line
Down Text StartcursorPlus.select.downTextStart└─ in next line
Text EndcursorPlus.select.textEndSelect to last non-whitespace character
Up Text EndcursorPlus.select.upTextEnd└─ in previous line
Down Text EndcursorPlus.select.downTextEnd└─ in next line
Line EndcursorPlus.select.lineEndSelect to end of line
Up Line EndcursorPlus.select.upLineEnd└─ in previous line
Down Line EndcursorPlus.select.downLineEnd└─ in next line
LinecursorPlus.select.lineSelect entire line content
Up LinecursorPlus.select.upLine└─ previous line
Down LinecursorPlus.select.downLine└─ next line
TextcursorPlus.select.textSelect from first non-whitespace to last character
Up TextcursorPlus.select.upText└─ in previous line
Down TextcursorPlus.select.downText└─ in next line
WrappercursorPlus.select.wrapperChoose a select command from a quick-pick menu

Wrapper command?

Learn more in the Wrapper command documentation.

ArgsSelect

This command takes no arguments.

ExamplesSelect

Keyboard shortcutExamplesSelect

keybindings.json
[
  {
    "key": "ctrl+k ,",
    "command": "cursorPlus.select.line",
    "when": "editorTextFocus"
  }
]

VideoExamplesSelect

ConfigurationSelect