// Place your key bindings in this file to override the defaultsauto[] [ { "key": "ctrl+shift+=", "command": "-workbench.action.zoomIn" }, { "key": "ctrl+shift+=", "command": "workbench.action.zoomIn" }, { "key": "ctrl+=", "command": "-workbench.action.zoomIn" }, { "key": "ctrl+-", "command": "-workbench.action.zoomOut" }, { "key": "ctrl+=", "command": "editor.action.fontZoomIn" }, { "key": "ctrl+-", "command": "editor.action.fontZoomOut" }, { "key": "ctrl+shift+tab", "command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup", "when": "!activeEditorGroupEmpty" }, { "key": "ctrl+tab", "command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup", "when": "!activeEditorGroupEmpty" }, { "key": "ctrl+tab", "command": "workbench.action.nextEditor" }, { "key": "ctrl+pagedown", "command": "-workbench.action.nextEditor" }, { "key": "ctrl+shift+tab", "command": "workbench.action.previousEditor" }, { "key": "ctrl+pageup", "command": "-workbench.action.previousEditor" }, // Swap focus between terminal & active editor { "key": "ctrl+`", "command": "workbench.action.terminal.focus" }, { "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus" }, { "key": "ctrl+W", "command": "workbench.action.togglePanel", "when": "terminalFocus" }, { "key": "ctrl+shift+space", "command": "editor.action.showDefinitionPreviewHover" }, { "key": "ctrl+shift+alt+`", "command": "workbench.action.createTerminalEditor" }, { "key": "ctrl+shift+/", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" }, { "key": "shift+alt+a", "command": "-editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" }, { "key": "shift+alt+d", "command": "editor.action.deleteLines", "when": "textInputFocus && !editorReadonly" }, { "key": "ctrl+shift+k", "command": "-editor.action.deleteLines", "when": "textInputFocus && !editorReadonly" }, { "key": "ctrl+alt+d", "command": "editor.detectLanguage", "when": "editorTextFocus && !notebookEditable" }, { "key": "shift+alt+d", "command": "-editor.detectLanguage", "when": "editorTextFocus && !notebookEditable" }, { "key": "ctrl+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "shift+alt+d", "command": "-notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "alt+a", "command": "composerMode.agent" }, { "key": "alt+g", "command": "composerMode.chat" }, { "key": "ctrl+shift+n", "command": "editor.action.inlineDiffs.rejectPartialEdit", "when": "editorHasPromptBar && editorPromptBarFocused" }, { "key": "ctrl+n", "command": "-editor.action.inlineDiffs.rejectPartialEdit", "when": "editorHasPromptBar && editorPromptBarFocused" }, { "key": "ctrl+shift+n", "command": "editor.action.inlineDiffs.rejectPartialEdit", "when": "editorTextFocus && @inlineDiffs.rejectPartialEdit.isActiveEditorWithDiffs" }, { "key": "ctrl+n", "command": "-editor.action.inlineDiffs.rejectPartialEdit", "when": "editorTextFocus && @inlineDiffs.rejectPartialEdit.isActiveEditorWithDiffs" }, { "key": "ctrl+g", "command": "-workbench.action.terminal.goToRecentDirectory" }, { "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", "args": { "text": "\\\r\n" }, "when": "terminalFocus" } ]