Reputation: 578
More specifically: How to navigate to the closest space to the left of the cursor in Visual studio code?
I've been looking around on google and even the shortcuts answers on SO but there's nothing.
EDIT 1: Clarification
Consider this text, and the cursor is at the caret:
This is a sentence
^
Pressing this shortcut moves the cursor here:
This is a sentence
^
Edit 2: this is what Ctrl+Left does
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
Edit 2: This is what I'm looking for:
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
Upvotes: 0
Views: 115
Reputation: 182881
see Ctrl-leftArrow
{
"key": "ctrl+left",
"command": "cursorWordStartLeft",
"when": "textInputFocus"
}
Upvotes: 1