vscode-terminal-shortcut(vscode终端快捷键自定义设置) 发表于 2018-07-25 | 更新于 2023-01-06 | 阅读次数: 通过 vscode -> 键盘快捷方式 设置点击keybindings.json 在弹出的 Default Keybindings 中搜索 terminal找到被注释掉的 terminal 快捷命令去自定义 然后根据个人习惯进行在keybindings.json中自定义快捷键以下是笔者的设置123456789101112131415161718192021222324252627282930313233343536[ { "key": "shift+alt+t", "command": "workbench.action.terminal.focus" }, { "key": "alt+1", "command": "workbench.action.terminal.focusAtIndex1", "when": "terminalFocus" }, { "key": "alt+2", "command": "workbench.action.terminal.focusAtIndex2", "when": "terminalFocus" }, { "key": "alt+3", "command": "workbench.action.terminal.focusAtIndex3", "when": "terminalFocus" }, { "key": "alt+4", "command": "workbench.action.terminal.focusAtIndex4", "when": "terminalFocus" }, { "key": "alt+n", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus" }, { "key": "alt+p", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus" },] 好的文字有着水晶般的光辉,仿佛来自星星。——王小波