更新 '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",
"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",
"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",
"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",
"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",
"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",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus"
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+7",
"command": "workbench.action.terminal.focusAtIndex7",
"when": "(terminalFocus || terminalFindFocused) && !terminalEditorFocus"
"key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+shift+e",
@ -447,4 +472,12 @@
"command": "closeFindWidget",
"when": "findWidgetVisible"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
]