按住Ctrl+Shift+P组合按钮打开设置窗口,输入>open keyboard Shortcuts File,在里面输入
{
"key": "ctrl+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
}
如下图所示:
保存即可。
按住Ctrl+Shift+P组合按钮打开设置窗口,输入>open keyboard Shortcuts File,在里面输入
{
"key": "ctrl+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
}
如下图所示:
保存即可。