更新 'keybindings.json'

This commit is contained in:
colin 2022-01-22 15:52:47 +08:00
parent 3c4bea18ae
commit ee3ee0efd8
1 changed files with 42 additions and 9 deletions

View File

@ -346,37 +346,62 @@
{ {
"key": "cmd+1", "key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1", "command": "workbench.action.terminal.focusAtIndex1",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+2", "key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2", "command": "workbench.action.terminal.focusAtIndex2",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+3", "key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3", "command": "workbench.action.terminal.focusAtIndex3",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+4", "key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4", "command": "workbench.action.terminal.focusAtIndex4",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+5", "key": "cmd+5",
"command": "workbench.action.terminal.focusAtIndex5", "command": "workbench.action.terminal.focusAtIndex5",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+6", "key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex6", "command": "workbench.action.terminal.focusAtIndex6",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFocus && !terminalEditorFocus"
}, },
{ {
"key": "cmd+7", "key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex7", "command": "workbench.action.terminal.focusAtIndex6",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus" "when": "terminalFindFocused && !terminalEditorFocus"
}, },
{ {
"key": "cmd+shift+e", "key": "cmd+shift+e",
@ -447,4 +472,12 @@
"command": "closeFindWidget", "command": "closeFindWidget",
"when": "findWidgetVisible" "when": "findWidgetVisible"
}, },
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
] ]