更新 'keybindings.json'
This commit is contained in:
parent
4afc1531c6
commit
72dfd03fb2
|
@ -26,11 +26,11 @@
|
|||
"command": "workbench.action.closeWindow",
|
||||
"when": "!multipleEditorGroups && !inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "cmd+w",
|
||||
"command": "workbench.action.closeWindow",
|
||||
"when": "!editorIsOpen && !multipleEditorGroups"
|
||||
},
|
||||
// {
|
||||
// "key": "cmd+w",
|
||||
// "command": "workbench.action.closeWindow",
|
||||
// "when": "!editorIsOpen && !terminalFocus && !multipleEditorGroups"
|
||||
// },
|
||||
{
|
||||
"key": "cmd+c",
|
||||
"command": "editor.action.clipboardCopyAction",
|
||||
|
@ -41,16 +41,6 @@
|
|||
"command": "editor.action.clipboardCutAction",
|
||||
"when": "textInputFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "actions.find",
|
||||
"when": "!findInputFocussed"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "editor.action.nextMatchFindAction",
|
||||
"when": "findInputFocussed"
|
||||
},
|
||||
{
|
||||
"key": "cmd+n",
|
||||
"command": "editor.action.nextMatchFindAction",
|
||||
|
@ -180,14 +170,24 @@
|
|||
},
|
||||
{
|
||||
"key": "cmd+t",
|
||||
"command": "workbench.action.terminal.newInActiveWorkspace",
|
||||
"when": "terminalFocus || terminalFindFocused"
|
||||
"command": "workbench.action.terminal.new",
|
||||
"when": "activePanel"
|
||||
},
|
||||
{
|
||||
"key": "cmd+t",
|
||||
"command": "workbench.action.createTerminalEditor",
|
||||
"when": "!activePanel"
|
||||
},
|
||||
{
|
||||
"key": "cmd+w",
|
||||
"command": "workbench.action.terminal.kill",
|
||||
"when": "terminalFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "cmd+w",
|
||||
"command": "workbench.action.terminal.killEditor",
|
||||
"when": "terminalEditorFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "cmd+shift+]",
|
||||
"command": "workbench.action.terminal.focusNext",
|
||||
|
@ -319,22 +319,37 @@
|
|||
{
|
||||
"key": "cmd+f",
|
||||
"command": "workbench.action.terminal.focusFind",
|
||||
"when": "terminalFocus && !terminalFindFocused"
|
||||
"when": "!terminalFindFocused && terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "workbench.action.terminal.focusFind",
|
||||
"when": "!terminalFindFocused && terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "workbench.action.terminal.findNext",
|
||||
"when": "terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "actions.find",
|
||||
"when": "!findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "editor.action.nextMatchFindAction",
|
||||
"when": "findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+shift+]",
|
||||
"command": "workbench.action.nextEditor",
|
||||
"when": "!terminalFocus"
|
||||
"when": "!terminalFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+shift+[",
|
||||
"command": "workbench.action.previousEditor",
|
||||
"when": "!terminalFocus"
|
||||
"when": "!terminalFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "cmd+1",
|
||||
|
@ -408,17 +423,11 @@
|
|||
{
|
||||
"key": "shift+cmd+;",
|
||||
"command": "editor.action.formatDocument",
|
||||
// "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
|
||||
},
|
||||
{
|
||||
"key": "cmd+o",
|
||||
"command": "workbench.action.openRecent"
|
||||
},
|
||||
{
|
||||
"key": "cmd+t",
|
||||
"command": "workbench.action.newWindow",
|
||||
"when": "!inDebugMode && !terminalFocus && !terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "shift+cmd+v",
|
||||
"command": "open-in-vim.open"
|
||||
|
@ -427,4 +436,18 @@
|
|||
"key": "ctrl+cmd+w",
|
||||
"command": "-workbench.action.toggleTabsVisibility"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+`",
|
||||
"command": "-workbench.action.terminal.new",
|
||||
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
|
||||
},
|
||||
{
|
||||
"key": "cmd+t",
|
||||
"command": "-workbench.action.showAllSymbols"
|
||||
},
|
||||
{
|
||||
"key": "escape",
|
||||
"command": "closeFindWidget",
|
||||
"when": "findWidgetVisible"
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue