更新 'keybindings_mac.json'

This commit is contained in:
colin 2021-09-17 16:00:01 +08:00
parent 939fc4618d
commit 6794e5e13c
1 changed files with 13 additions and 9 deletions

View File

@ -181,12 +181,12 @@
{ {
"key": "cmd+t", "key": "cmd+t",
"command": "workbench.action.terminal.newInActiveWorkspace", "command": "workbench.action.terminal.newInActiveWorkspace",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+w", "key": "cmd+w",
"command": "workbench.action.terminal.kill", "command": "workbench.action.terminal.kill",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+shift+]", "key": "cmd+shift+]",
@ -339,32 +339,32 @@
{ {
"key": "cmd+1", "key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1", "command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+2", "key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2", "command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+3", "key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3", "command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+4", "key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4", "command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+5", "key": "cmd+5",
"command": "workbench.action.terminal.focusAtIndex5", "command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+6", "key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex6", "command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFocus" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+shift+e", "key": "cmd+shift+e",
@ -417,10 +417,14 @@
{ {
"key": "cmd+t", "key": "cmd+t",
"command": "workbench.action.newWindow", "command": "workbench.action.newWindow",
"when": "!inDebugMode && !terminalFocus" "when": "!inDebugMode && !terminalFocus && !terminalFindFocused"
}, },
{ {
"key": "shift+cmd+v", "key": "shift+cmd+v",
"command": "open-in-vim.open" "command": "open-in-vim.open"
}, },
{
"key": "ctrl+cmd+w",
"command": "-workbench.action.toggleTabsVisibility"
},
] ]