更新 keybindings.json
This commit is contained in:
parent
c5e9895ab0
commit
d3bd462b07
|
|
@ -2,11 +2,11 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"key": "cmd+-",
|
"key": "cmd+-",
|
||||||
"command": "editor.fold",
|
"command": "editor.foldRecursively",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+=",
|
"key": "cmd+=",
|
||||||
"command": "editor.unfold",
|
"command": "editor.unfoldRecursively",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+shift+-",
|
"key": "cmd+shift+-",
|
||||||
|
|
@ -21,16 +21,6 @@
|
||||||
"command": "editor.action.revealDefinition",
|
"command": "editor.action.revealDefinition",
|
||||||
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"key": "shift+cmd+t",
|
|
||||||
"command": "workbench.action.closeWindow",
|
|
||||||
"when": "!multipleEditorGroups && !inDebugMode"
|
|
||||||
},
|
|
||||||
// {
|
|
||||||
// "key": "cmd+w",
|
|
||||||
// "command": "workbench.action.closeWindow",
|
|
||||||
// "when": "!editorIsOpen && !terminalFocus && !multipleEditorGroups"
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
"key": "cmd+c",
|
"key": "cmd+c",
|
||||||
"command": "editor.action.clipboardCopyAction",
|
"command": "editor.action.clipboardCopyAction",
|
||||||
|
|
@ -43,8 +33,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+n",
|
"key": "cmd+n",
|
||||||
"command": "editor.action.nextMatchFindAction",
|
"command": "editor.action.previousMatchFindAction",
|
||||||
"when": "editorFocus"
|
"when": "findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+shift+l",
|
"key": "cmd+shift+l",
|
||||||
|
|
@ -147,11 +137,6 @@
|
||||||
"command": "workbench.action.terminal.findNext",
|
"command": "workbench.action.terminal.findNext",
|
||||||
"when": "terminalFindFocused || terminalFocus"
|
"when": "terminalFindFocused || terminalFocus"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"key": "cmd+shift+n",
|
|
||||||
"command": "workbench.action.terminal.findPrevious",
|
|
||||||
"when": "terminalFindFocused || terminalFocus"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"key": "cmd+t",
|
"key": "cmd+t",
|
||||||
"command": "workbench.action.terminal.new",
|
"command": "workbench.action.terminal.new",
|
||||||
|
|
@ -238,17 +223,17 @@
|
||||||
{
|
{
|
||||||
"key": "cmd+t",
|
"key": "cmd+t",
|
||||||
"command": "workbench.action.debug.stop",
|
"command": "workbench.action.debug.stop",
|
||||||
"when": "inDebugMode && editorFocus"
|
"when": "inDebugMode && !terminalFocus && editorFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+r",
|
"key": "cmd+r",
|
||||||
"command": "workbench.action.debug.start",
|
"command": "workbench.action.debug.start",
|
||||||
"when": "!inDebugMode"
|
"when": "!inDebugMode && !terminalFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+shift+s",
|
"key": "cmd+shift+s",
|
||||||
"command": "workbench.action.debug.stepOver",
|
"command": "workbench.action.debug.stepOver",
|
||||||
"when": "inDebugMode"
|
"when": "inDebugMode && !terminalFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+r",
|
"key": "cmd+r",
|
||||||
|
|
@ -500,10 +485,5 @@
|
||||||
{
|
{
|
||||||
"key": "cmd+q",
|
"key": "cmd+q",
|
||||||
"command": "-workbench.action.quit"
|
"command": "-workbench.action.quit"
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "shift+cmd+n",
|
|
||||||
"command": "-chatEditor.action.reject",
|
|
||||||
"when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Loading…
Reference in New Issue