Created
June 9, 2024 19:50
-
-
Save zhelezkov/534b1520649a2f12cd385221c58579ee to your computer and use it in GitHub Desktop.
This file contains 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+;", | |
"command": "findJump.activate" | |
}, | |
{ | |
"key": "alt+f1", | |
"command": "revealInExplorer" | |
}, | |
{ | |
"key": "alt+cmd+left", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "alt+cmd+right", | |
"command": "workbench.action.navigateForward" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"command": "workbench.action.closeActiveEditor", | |
"key": "cmd+F4" | |
}, | |
{ | |
"command": "editor.action.smartSelect.grow", | |
"key": "cmd+w", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"command": "-workbench.action.closeActiveEditor", | |
"key": "cmd+w" | |
}, | |
{ | |
"command": "editor.action.smartSelect.shrink", | |
"key": "shift+cmd+w", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"command": "editor.action.rename", | |
"key": "shift+F6", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.rename", | |
"key": "f2" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "shift+cmd+]", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+cmd+right", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"command": "workbench.action.previousEditor", | |
"key": "ctrl+left" | |
}, | |
{ | |
"command": "-workbench.action.previousEditor", | |
"key": "shift+cmd+[" | |
}, | |
{ | |
"command": "-workbench.action.previousEditor", | |
"key": "alt+cmd+left" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "editor.action.triggerParameterHints", | |
"when": "editorHasSignatureHelpProvider && editorTextFocus" | |
}, | |
{ | |
"command": "-workbench.action.quickOpen", | |
"key": "cmd+p" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "alt+cmd+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": "alt+cmd+l", | |
"command": "editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "alt+cmd+l", | |
"command": "editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "alt+cmd+f", | |
"command": "-editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.replaceInFiles" | |
}, | |
{ | |
"key": "shift+cmd+h", | |
"command": "-workbench.action.replaceInFiles" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "workbench.action.findInFiles" | |
}, | |
{ | |
"key": "shift+cmd+f", | |
"command": "-workbench.action.findInFiles" | |
}, | |
{ | |
"command": "git.sync", | |
"key": "cmd+T" | |
}, | |
{ | |
"command": "workbench.action.showCommands", | |
"key": "shift+cmd+A" | |
}, | |
{ | |
"key": "alt+cmd+z", | |
"command": "git.revertSelectedRanges" | |
}, | |
{ | |
"key": "cmd+k cmd+r", | |
"command": "-git.revertSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"command": "-workbench.action.showAllSymbols", | |
"key": "cmd+t" | |
}, | |
{ | |
"key": "shift+alt+cmd+n", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "alt+cmd+v", | |
"command": "editor.action.codeAction", | |
"args": { | |
"kind": "refactor.extract.constant" | |
} | |
}, | |
// shitty, need to be revisited | |
{ | |
"key": "ctrl+1", | |
"command": "numberedBookmarks.jumpToBookmark1", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "-numberedBookmarks.jumpToBookmark1", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "numberedBookmarks.jumpToBookmark2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "-numberedBookmarks.jumpToBookmark2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "numberedBookmarks.jumpToBookmark3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "-numberedBookmarks.jumpToBookmark3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "numberedBookmarks.jumpToBookmark4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+4", | |
"command": "-numberedBookmarks.jumpToBookmark4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "numberedBookmarks.jumpToBookmark5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "-numberedBookmarks.jumpToBookmark5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "numberedBookmarks.jumpToBookmark6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "-numberedBookmarks.jumpToBookmark6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "numberedBookmarks.jumpToBookmark7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+7", | |
"command": "-numberedBookmarks.jumpToBookmark7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "numberedBookmarks.jumpToBookmark8", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+8", | |
"command": "-numberedBookmarks.jumpToBookmark8", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "numberedBookmarks.jumpToBookmark9", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+9", | |
"command": "-numberedBookmarks.jumpToBookmark9", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+1", | |
"command": "numberedBookmarks.toggleBookmark1", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+1", | |
"command": "-numberedBookmarks.toggleBookmark1", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+2", | |
"command": "numberedBookmarks.toggleBookmark2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+2", | |
"command": "-numberedBookmarks.toggleBookmark2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+3", | |
"command": "numberedBookmarks.toggleBookmark3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+3", | |
"command": "-numberedBookmarks.toggleBookmark3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+4", | |
"command": "numberedBookmarks.toggleBookmark4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+4", | |
"command": "-numberedBookmarks.toggleBookmark4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "numberedBookmarks.toggleBookmark5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+5", | |
"command": "-numberedBookmarks.toggleBookmark5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+6", | |
"command": "numberedBookmarks.toggleBookmark6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+6", | |
"command": "-numberedBookmarks.toggleBookmark6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+7", | |
"command": "numberedBookmarks.toggleBookmark7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+7", | |
"command": "-numberedBookmarks.toggleBookmark7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+8", | |
"command": "numberedBookmarks.toggleBookmark8", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+8", | |
"command": "-numberedBookmarks.toggleBookmark8", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+9", | |
"command": "numberedBookmarks.toggleBookmark9", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+9", | |
"command": "-numberedBookmarks.toggleBookmark9", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "-workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "-workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "ctrl+shift+2", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "-workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "-workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "-workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.splitInstance", | |
"when": "terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "-workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "ctrl+shift+6", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "-workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "-workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "ctrl+cmd+9", | |
"command": "-workbench.action.moveEditorToLastGroup" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "-workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+i", | |
"command": "-editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f6", | |
"command": "workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f10", | |
"command": "-workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f7", | |
"command": "workbench.action.debug.stepInto", | |
"when": "debugState != 'inactive'" | |
}, | |
{ | |
"key": "f11", | |
"command": "-workbench.action.debug.stepInto", | |
"when": "debugState != 'inactive'" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "workbench.action.debug.stepOut", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "shift+f11", | |
"command": "-workbench.action.debug.stepOut", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "cmd+f7", | |
"command": "workbench.action.debug.stepIntoTarget", | |
"when": "inDebugMode && stepIntoTargetsSupported && debugState == 'stopped'" | |
}, | |
{ | |
"key": "cmd+f11", | |
"command": "-workbench.action.debug.stepIntoTarget", | |
"when": "inDebugMode && stepIntoTargetsSupported && debugState == 'stopped'" | |
}, | |
{ | |
"key": "alt+cmd+b", | |
"command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+cmd+f", | |
"command": "workbench.action.quickTextSearch" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment