Select to end / start line in Visual Studio Code

In most editors (including Visual Studio itself) I can use Shift + End to select all the text from the cursor location to the end of the current line and Shift + Home to select all the text to the beginning of the line.

These shortcuts don't seem to work out of the box (at least on the Mac version). Is there a way to enable this, perhaps with a plugin or setting that I am missing?

+5
source share
1 answer

Strange it should work out of the box. If not, go to File> Preferences> Keyboard Shortcuts and find cursorEndSelect .

 {"key": "shift+end", "command": "cursorEndSelect", "when": "editorTextFocus"} 
+7
source

All Articles