Last active
March 20, 2024 22:03
-
-
Save kensleDev/5ff37db48787e462dc9282b421371593 to your computer and use it in GitHub Desktop.
VSCode Keyboard Shortcuts
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 defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+shift+space", | |
"command": "whichkey.show" | |
}, | |
// navigation | |
{ | |
"key": "alt+m", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "workbench.action.navigateDown" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "workbench.action.navigateUp" | |
}, | |
{ | |
"key": "alt+/", | |
"command": "workbench.action.navigateRight" | |
}, | |
{ | |
"key": "alt+shift+n", | |
"command": "editor.action.marker.next" | |
}, | |
{ | |
"key": "alt+shift+p", | |
"command": "editor.action.marker.prev" | |
}, | |
// File tree / explorer | |
{ | |
"key": "r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "d", | |
"command": "deleteFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "c", | |
"command": "explorer.newFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": ",", | |
"command": "list.focusDown", | |
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": ".", | |
"command": "list.focusUp", | |
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "list.select", | |
"when": "explorerViewletVisible && filesExplorerFocus" | |
}, | |
{ | |
"key": "h", | |
"command": "list.collapse", | |
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "shift+a", | |
"command": "explorer.newFolder", | |
"when": "filesExplorerFocus && !inputFocus" | |
}, | |
// Suggestions | |
{ | |
"key": "tab", | |
"command": "selectNextSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "tab", | |
"command": "workbench.action.quickOpenNavigateNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "selectPrevSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "workbench.action.quickOpenNavigatePrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "shift+;", | |
"command": "insertPrevSuggestion", | |
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
// Misc | |
{ | |
"key": "ctrl+shift+k", | |
"command": "workbench.panel.output.focus" | |
}, | |
{ | |
"key": "alt+i", | |
"command": "workbench.action.toggleMaximizedPanel" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment