Last active
September 4, 2024 04:16
-
-
Save TheBrenny/765bc74f9a21aa39404d022cbbef644f to your computer and use it in GitHub Desktop.
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 overwrite the defaults | |
[ | |
{ | |
"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" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "workbench.action.quickOpenNavigateNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenNavigateNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "workbench.action.quickOpenNavigatePrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenNavigatePrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+alt+t", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "-workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "ctrl+shift+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+shift+=", | |
"command": "editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+0", | |
"command": "-editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "-workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "-editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "editor.action.toggleColumnSelection" | |
}, | |
{ | |
"key": "ctrl+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "f2", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "revealFileInOS", | |
"when": "filesExplorerFocus" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "-revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "workbench.action.toggleDevTools" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-workbench.action.toggleDevTools", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "ctrl+shift+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+b", | |
"command": "workbench.action.tasks.build" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "workbench.action.files.openFolder" | |
}, | |
{ | |
"key": "ctrl+k ctrl+o", | |
"command": "-workbench.action.files.openFolder" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "shift+alt+o", | |
"command": "-editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-github.copilot.generate", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "java.view.package.renameFile", | |
"when": "focusedView == 'javaProjectExplorer' && java:serverMode == 'Standard'" | |
}, | |
{ | |
"key": "f2", | |
"command": "-java.view.package.renameFile", | |
"when": "focusedView == 'javaProjectExplorer' && java:serverMode == 'Standard'" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "editor.action.rename", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.terminal.focusNext", | |
"when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+alt+pagedown", | |
"command": "-workbench.action.terminal.scrollDown", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+alt+pageup", | |
"command": "-workbench.action.terminal.scrollUp", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.terminal.kill", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "ctrl+shift+alt+t", | |
"command": "workbench.action.terminal.openNativeConsole" | |
}, | |
{ | |
"key": "ctrl+shift+n", | |
"command": "workbench.action.terminal.newWithProfile", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+k ctrl+q", | |
"command": "-workbench.action.navigateToLastEditLocation" | |
}, | |
{ | |
"key": "ctrl+k ctrl+q", | |
"command": "quokka.createJavaScriptFile", | |
"when": "!quokka.isLiveShareClient && !terminalFocus" | |
}, | |
{ | |
"key": "ctrl+k j", | |
"command": "-quokka.createJavaScriptFile", | |
"when": "!quokka.isLiveShareClient && !terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "editor.unfoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+]", | |
"command": "-editor.unfoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "editor.foldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+[", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "-workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "-workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "ctrl+alt+f", | |
"command": "workbench.action.findInFiles" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "-workbench.action.findInFiles" | |
}, | |
{ | |
"key": "ctrl+alt+enter", | |
"command": "github.copilot.generate", | |
"when": "editorTextFocus && github.copilot.activated" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-github.copilot.generate", | |
"when": "editorTextFocus && github.copilot.activated" | |
}, | |
{ | |
"key": "ctrl+k ctrl+-", | |
"command": "-editor.foldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+\\", | |
"command": "-workbench.action.splitEditorOrthogonal" | |
}, | |
{ | |
"key": "ctrl+k ctrl+\\", | |
"command": "workbench.action.splitEditorRight" | |
}, | |
{ | |
"key": "ctrl+k ctrl+-", | |
"command": "workbench.action.splitEditorDown" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "-editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-workbench.action.reloadWindow", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "workbench.action.terminal.rename", | |
"when": "terminalFocus && !filesExplorerFocus" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "workbench.action.terminal.renamePanel", | |
"when": "terminalFocus && !filesExplorerFocus" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "explorer.newFile", | |
"when": "filesExplorerFocus" | |
}, | |
{ | |
"key": "ctrl+shift+n", | |
"command": "explorer.newFolder", | |
"when": "filesExplorerFocus" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "-java.view.package.revealFileInOS", | |
"when": "focusedView == 'javaProjectExplorer' && java:serverMode == 'Standard'" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+alt+l", | |
"command": "workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+k m", | |
"command": "-workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "-emojisense.quickEmoji", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "workbench.action.terminal.paste", | |
"when": "(terminalFocus && terminalHasBeenCreated) || (terminalFocus && terminalProcessSupported)" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "-workbench.action.terminal.paste", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment