我习惯于通过按两次Ctrl+来终止 CLI 中的进程,C但这在 vscode 的集成终端中不起作用。它提示确认。有没有办法以同样的方式使用它?或者甚至更好,使用 1 个按键。
我想拥有Ctrl+ C复制和Ctrl+ Shift+ C发送Ctrl+ C(中断)。
我弄清楚了上半年
{
"key": "ctrl+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus"
}
Run Code Online (Sandbox Code Playgroud)
但是下半年我该怎么办?是否有向终端发送任意按键的命令?