Visual Studio代码 - 多个键盘快捷键?

问题描述:

有没有什么办法可以为VS代码中的一个动作设置两个键盘快捷键?例如,我想通过按左箭头键或alt + a将光标移动到左侧。Visual Studio代码 - 多个键盘快捷键?

+0

据我所知,你需要制作一个自定义的宏来让它工作。 – ifconfig

什么阻止你编辑keybindings.json

{ 
    "key": "alt+a", 
    "command": "cursorLeft" 
}