










alt+k vscode 执行 ccdev
在editor 和 terminal 之间切换
{
"key": "alt+k",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.terminal.focus", // 1. 聚焦到终端
{
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "ccdev\u000D"
}
}
]
},
"when": "editorTextFocus"
},
{
"key": "alt+k",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.focusActiveEditorGroup", // 先切回编辑器
"editor.action.clipboardPasteAction" // 再执行粘贴(相当于 Ctrl+V)
]
},
"when": "terminalFocus"
},
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。