Visual studio code 如何在VisualStudio代码中按空格导航?
更具体地说:如何在Visual studio代码中导航到光标左侧最近的空间? 我一直在谷歌上四处寻找,甚至连捷径答案都在上面,但什么都没有 编辑1:澄清 考虑此文本,光标位于插入符号处:Visual studio code 如何在VisualStudio代码中按空格导航?,visual-studio-code,keyboard-shortcuts,Visual Studio Code,Keyboard Shortcuts,更具体地说:如何在Visual studio代码中导航到光标左侧最近的空间? 我一直在谷歌上四处寻找,甚至连捷径答案都在上面,但什么都没有 编辑1:澄清 考虑此文本,光标位于插入符号处: This is a sentence ^ 按此快捷键可将光标移动到此处: This is a sentence ^ 编辑2:这是Ctrl+Left的作用 ... type="x" href="/a/path/to/file.css"
This is a sentence
^
按此快捷键可将光标移动到此处:
This is a sentence
^
编辑2:这是Ctrl+Left的作用
... 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"
^
编辑2:这就是我要找的:
... type="x" href="/a/path/to/file.css"
^
... type="x" href="/a/path/to/file.css"
^
请参见Ctrl-leftArrow
对于这类问题,否决票是可以接受的,但至少要指出明显的“你有没有试过在谷歌上搜索……”并且要有用。是的,这涉及到词的边界,而不仅仅是空间。很高兴知道,谢谢:DCtrl+Left将光标从(0)移动到(7),每个ctrl+Left在以下位置之间移动:
type=“x”(7)href(6)=“/(5)a/(4)路径/(3)到/(2)文件。(1)css(0)
查找:type=“x”(1)href=“/a/path/to/file.css(0)
{
"key": "ctrl+left",
"command": "cursorWordStartLeft",
"when": "textInputFocus"
}