[ /* Increasing and decreasing the editor font size */ { "key": "cmd+[BracketRight]", "command": "editor.action.fontZoomIn", "when": "editorTextFocus" }, { "key": "cmd+-", "command": "editor.action.fontZoomOut", "when": "editorTextFocus" }, { "key": "cmd+0", "command": "editor.action.fontZoomReset", "when": "editorTextFocus" }, /* Increasing and decreasing the terminal font size */ { "key": "cmd+[BracketRight]", "command": "workbench.action.terminal.fontZoomIn", "when": "terminalFocus" }, { "key": "cmd+-", "command": "workbench.action.terminal.fontZoomOut", "when": "terminalFocus" }, /* Explorer */ { "key": "cmd+n", "command": "explorer.newFile", "when": "filesExplorerFocus" }, { "key": "alt+cmd+n", "command": "explorer.newFolder", "when": "filesExplorerFocus" }, /* Switching tabs */ { "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" }, { "key": "ctrl+1", "command": "-workbench.action.openEditorAtIndex1" }, { "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" }, { "key": "ctrl+2", "command": "-workbench.action.openEditorAtIndex2" }, { "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" }, { "key": "ctrl+3", "command": "-workbench.action.openEditorAtIndex3" }, { "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" }, { "key": "ctrl+4", "command": "-workbench.action.openEditorAtIndex4" }, { "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" }, { "key": "ctrl+5", "command": "-workbench.action.openEditorAtIndex5" }, { "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" }, { "key": "ctrl+6", "command": "-workbench.action.openEditorAtIndex6" }, { "key": "cmd+7", "command": "workbench.action.openEditorAtIndex7" }, { "key": "ctrl+7", "command": "-workbench.action.openEditorAtIndex7" }, { "key": "cmd+8", "command": "workbench.action.openEditorAtIndex8" }, { "key": "ctrl+8", "command": "-workbench.action.openEditorAtIndex8" }, { "key": "cmd+9", "command": "workbench.action.lastEditorInGroup" }, { "key": "ctrl+9", "command": "-workbench.action.openEditorAtIndex9" }, /* Removing other stuff */ { "key": "cmd+[BracketRight]", "command": "-workbench.action.zoomIn" }, { "key": "cmd+-", "command": "-workbench.action.zoomOut" }, { "key": "shift+cmd+0", "command": "-workbench.action.zoomIn" }, { "key": "cmd+numpad_add", "command": "-workbench.action.zoomIn" }, { "key": "cmd+numpad_subtract", "command": "-workbench.action.zoomOut" }, { "key": "shift+cmd+-", "command": "-workbench.action.zoomOut" }, { "key": "cmd+0", "command": "-workbench.action.focusSideBar" }, { "key": "alt+f8", "command": "-editor.action.marker.next", "when": "editorFocus" }, { "key": "shift+alt+f8", "command": "-editor.action.marker.prev", "when": "editorFocus" }, { "key": "alt+cmd+b", "command": "-latex-workshop.build", "when": "!config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/" }, { "key": "cmd+i", "command": "-markdown.extension.editing.toggleItalic", "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^quarto$/" }, { "key": "cmd+b", "command": "-markdown.extension.editing.toggleBold", "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^quarto$/" }, { "key": "cmd+i", "command": "-supermaven.editWithSupermaven" }, { "key": "cmd+i", "command": "-cloudcode.duetAI.showinEditor", "when": "authLoggedIn && config.geminicodeassist.enable && editorTextFocus && shouldRegisterInEditorCommand && !inGeminiDiffView && !isInDiffEditor" }, { "key": "ctrl+p", "command": "-cursorUp", "when": "textInputFocus" }, { "key": "alt+q", "command": "-rewrap.rewrapComment", "when": "editorTextFocus" }, /* Code navigation */ { "key": "ctrl+p", "command": "editor.action.marker.next" }, { "key": "ctrl+shift+p", "command": "editor.action.marker.prev", "when": "editorFocus" }, /* Actions */ { "key": "shift+alt+c", "command": "editor.action.inlineSuggest.trigger" }, /* Quick searching */ { "key": "ctrl+h", "command": "workbench.action.quickTextSearch" }, /* Accessing code actions properly */ { "key": "ctrl+shift+w", "command": "rewrap.rewrapComment", "when": "editorTextFocus" }, { "key": "shift+alt+o", "command": "-editor.action.organizeImports", "when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" }, { "key": "alt+cmd+[Period]", "command": "-editor.action.autoFix", "when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/" }, { "key": "alt+cmd+[Period]", "command": "editor.action.sourceAction" } ]