【问题标题】:<ALT+H> hotkey doesn't work with Visual Studio Code<ALT+H> 热键不适用于 Visual Studio Code
【发布时间】:2021-10-24 11:01:33
【问题描述】:

我无法将命令 "cursorLeft" 绑定到 "alt+h" 。这是我的设置文件keybindings.json

[    { "key": "alt+h",                  "command": "cursorLeft",
        "when": "textInputFocus" },
    { "key": "alt+l",                  "command": "cursorRight",
        "when": "textInputFocus" },
    { "key": "alt+k",                  "command": "cursorUp",
        "when": "textInputFocus" },
    { "key": "alt+j",                  "command": "cursorDown",
        "when": "textInputFocus"
    }]

其他三个热键正常工作。如果我将热键 &lt;alt+h&gt; 更改为任何其他组合,它也可以。我的操作系统是Kali Linux。它也不适用于 Windows。我已经检查过了。有什么我可能错过的吗?

【问题讨论】:

    标签: visual-studio-code settings hotkeys kali-linux


    【解决方案1】:

    最后,我找到了解决方案。我不知道为什么,但是如果我们用"alt+H" 替换"alt+h",它会起作用。 但是,最终的结果还不够好。有各种副作用和冻结。我想我需要另一个密钥而不是 alt

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-09
      • 2016-07-14
      • 1970-01-01
      • 2022-01-19
      • 1970-01-01
      • 2022-07-07
      • 2020-06-13
      • 2022-01-21
      相关资源
      最近更新 更多