文件=>首选项=>键盘快捷方式:
在该文件中,用以下方式配置快捷键对应的命令,比如:
// 将键绑定放在此文件中以覆盖默认值
[
{
"key": "ctrl+1",
"command": "extension.jumptotemplate"
},
{
"key": "ctrl+2",
"command": "extension.jumptoscript"
},
{
"key": "ctrl+3",
"command": "extension.jumptostyle"
}
]
搞定,现在ctrl+1就相当于执行命令extension.jumptotemplate