首页 文章

如何在Visual Studio代码中按空格导航?

提问于
浏览
-1

更具体地说: How to navigate to the closest space to the left of the cursor in Visual studio code?

我一直在寻找谷歌甚至是快捷方式的答案,但没有什么 .

编辑1:澄清

考虑这个文本,光标位于插入符号:

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"
             ^

1 回答

  • 1

    请参阅Ctrl-leftArrow

    {
      "key": "ctrl+left",
      "command": "cursorWordStartLeft",
      "when": "textInputFocus"
    }
    

相关问题