Created
July 24, 2025 04:12
-
-
Save shamscorner/6d7009d732b659119123324bfff7d951 to your computer and use it in GitHub Desktop.
My VSCode keybindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "cmd+o cmd+p", | |
| "command": "workbench.action.showCommands" | |
| }, | |
| { | |
| "key": "cmd+e", | |
| "command": "workbench.view.explorer", | |
| "when": "viewContainer.workbench.view.explorer.enabled" | |
| }, | |
| { | |
| "key": "cmd+0", | |
| "command": "workbench.action.zoomReset" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "notifications.hideToasts", | |
| "when": "notificationToastsVisible" | |
| }, | |
| { | |
| "key": "ctrl+1", | |
| "command": "workbench.action.openEditorAtIndex1", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+2", | |
| "command": "workbench.action.openEditorAtIndex2", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+3", | |
| "command": "workbench.action.openEditorAtIndex3", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+4", | |
| "command": "workbench.action.openEditorAtIndex4", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+5", | |
| "command": "workbench.action.openEditorAtIndex5", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+6", | |
| "command": "workbench.action.openEditorAtIndex6", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+7", | |
| "command": "workbench.action.openEditorAtIndex7", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+8", | |
| "command": "workbench.action.openEditorAtIndex8", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+9", | |
| "command": "workbench.action.openEditorAtIndex9", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "alt+enter", | |
| "command": "editor.action.showContextMenu", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+[", | |
| "command": "editor.fold", | |
| "when": "editorTextFocus && foldingEnabled" | |
| }, | |
| { | |
| "key": "cmd+]", | |
| "command": "editor.unfold", | |
| "when": "editorTextFocus && foldingEnabled" | |
| }, | |
| { | |
| "key": "cmd+\\", | |
| "command": "workbench.files.action.collapseExplorerFolders" | |
| }, | |
| { | |
| "key": "alt+\\", | |
| "command": "workbench.files.action.showActiveFileInExplorer" | |
| }, | |
| { | |
| "key": "cmd+n", | |
| "command": "explorer.newFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+n", | |
| "command": "explorer.newFolder", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+g", | |
| "command": "workbench.view.scm", | |
| "when": "workbench.scm.active" | |
| }, | |
| { | |
| "key": "cmd+t", | |
| "command": "workbench.action.toggleMaximizedPanel" | |
| }, | |
| { | |
| "key": "cmd+n", | |
| "command": "workbench.action.terminal.new", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+n", | |
| "command": "workbench.action.terminal.split", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+w", | |
| "command": "workbench.action.terminal.kill", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "cmd+j", | |
| "command": "workbench.action.terminal.focusNext", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "workbench.action.terminal.focusPrevious", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+1", | |
| "command": "workbench.action.terminal.focusAtIndex1", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+2", | |
| "command": "workbench.action.terminal.focusAtIndex2", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+3", | |
| "command": "workbench.action.terminal.focusAtIndex3", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+4", | |
| "command": "workbench.action.terminal.focusAtIndex4", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+5", | |
| "command": "workbench.action.terminal.focusAtIndex5", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+6", | |
| "command": "workbench.action.terminal.focusAtIndex6", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+7", | |
| "command": "workbench.action.terminal.focusAtIndex7", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+8", | |
| "command": "workbench.action.terminal.focusAtIndex8", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+9", | |
| "command": "workbench.action.terminal.focusAtIndex9", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "cmd+j", | |
| "command": "workbench.action.nextEditor", | |
| "when": "!terminalFocus && !listFocus && !suggestWidgetVisible && !inQuickOpen && !inputBoxFocus" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "workbench.action.previousEditor", | |
| "when": "!terminalFocus && !listFocus && !suggestWidgetVisible && !inQuickOpen && !inputBoxFocus" | |
| }, | |
| { | |
| "key": "alt+tab", | |
| "command": "workbench.action.quickSwitchWindow" | |
| }, | |
| { | |
| "key": "cmd+j", | |
| "command": "workbench.action.quickOpenSelectNext", | |
| "when": "inQuickOpen" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "workbench.action.quickOpenSelectPrevious", | |
| "when": "inQuickOpen" | |
| }, | |
| { | |
| "key": "cmd+j", | |
| "command": "selectNextSuggestion", | |
| "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "selectPrevSuggestion", | |
| "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+n", | |
| "command": "workbench.action.splitEditor", | |
| "when": "!terminalFocus" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment