vscode 配置ctrl+k快捷键

356 阅读1分钟

1.按住Ctrl+Shift+P组合按钮打开设置窗口 2.输入>open keyboard Shortcuts 3.点击open keyboard Shortcuts(JSON)

在里面加入以下代码:

{

"key": "ctrl+k",

"command": "workbench.action.terminal.clear",

"when": "terminalFocus"

}