Last active
May 31, 2022 16:29
-
-
Save tcw165/d29efb87b95c042b91e7762f9118aaae to your computer and use it in GitHub Desktop.
My VSCode keybindings
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 defaults | |
[ | |
{ | |
"command": "workbench.action.closeOtherEditors", | |
"key": "shift+cmd+w" | |
}, | |
{ | |
"command": "-workbench.action.closeOtherEditors", | |
"key": "alt+cmd+t" | |
}, | |
{ | |
"command": "-workbench.action.closeWindow", | |
"key": "shift+cmd+w" | |
}, | |
{ | |
"command": "-editor.action.triggerParameterHints", | |
"key": "cmd+p", | |
"when": "editorHasSignatureHelpProvider && editorTextFocus" | |
}, | |
{ | |
"command": "-workbench.action.quickOpenNavigateNextInFilePicker", | |
"key": "cmd+p", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"command": "workbench.action.moveEditorLeftInGroup", | |
"key": "shift+cmd+1" | |
}, | |
{ | |
"command": "-workbench.action.moveEditorLeftInGroup", | |
"key": "cmd+k shift+cmd+left" | |
}, | |
{ | |
"command": "workbench.action.moveEditorRightInGroup", | |
"key": "shift+cmd+2" | |
}, | |
{ | |
"command": "-workbench.action.moveEditorRightInGroup", | |
"key": "cmd+k shift+cmd+right" | |
}, | |
{ | |
"command": "-workbench.action.navigateBack", | |
"key": "ctrl+-" | |
}, | |
{ | |
"command": "workbench.action.navigateBack", | |
"key": "cmd+[" | |
}, | |
{ | |
"command": "workbench.action.navigateForward", | |
"key": "cmd+]" | |
}, | |
{ | |
"command": "-workbench.action.navigateForward", | |
"key": "ctrl+shift+-" | |
}, | |
{ | |
"command": "editor.action.revealDefinition", | |
"key": "cmd+b", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"command": "-editor.action.revealDefinition", | |
"key": "f12", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"command": "editor.action.goToImplementation", | |
"key": "shift+cmd+b", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"command": "-editor.action.goToImplementation", | |
"key": "cmd+f12", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"key": "ctrl+`", | |
"when": "terminal.active" | |
}, | |
{ | |
"command": "workbench.action.nextPanelView", | |
"key": "shift+cmd+]", | |
"when": "panelFocus" | |
}, | |
{ | |
"command": "workbench.action.previousPanelView", | |
"key": "shift+cmd+[", | |
"when": "panelFocus" | |
}, | |
{ | |
"command": "workbench.action.terminal.focusNext", | |
"key": "shift+cmd+2", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"command": "-workbench.action.terminal.focusNext", | |
"key": "shift+cmd+]", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"command": "workbench.action.terminal.focusPrevious", | |
"key": "shift+cmd+1", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"command": "-workbench.action.terminal.focusPrevious", | |
"key": "shift+cmd+[", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"command": "workbench.action.toggleSidebarVisibility", | |
"key": "cmd+1" | |
}, | |
{ | |
"command": "-workbench.action.toggleSidebarVisibility", | |
"key": "cmd+b" | |
}, | |
{ | |
"command": "-workbench.action.output.toggleOutput", | |
"key": "shift+cmd+u", | |
"when": "workbench.panel.output.active" | |
}, | |
{ | |
"command": "-workbench.actions.view.problems", | |
"key": "shift+cmd+m", | |
"when": "workbench.panel.markers.view.active" | |
}, | |
{ | |
"command": "-workbench.action.togglePanel", | |
"key": "cmd+j" | |
}, | |
{ | |
"command": "-workbench.action.toggleZenMode", | |
"key": "cmd+k z" | |
}, | |
{ | |
"command": "-editor.action.toggleWordWrap", | |
"key": "alt+z" | |
}, | |
{ | |
"command": "-workbench.action.toggleFullScreen", | |
"key": "ctrl+cmd+f", | |
"when": "!isIOS" | |
}, | |
{ | |
"command": "-workbench.debug.action.toggleRepl", | |
"key": "shift+cmd+y", | |
"when": "workbench.panel.repl.view.active" | |
}, | |
{ | |
"command": "-workbench.action.toggleEditorGroupLayout", | |
"key": "alt+cmd+0" | |
}, | |
{ | |
"command": "-editor.action.toggleTabFocusMode", | |
"key": "ctrl+shift+m" | |
}, | |
{ | |
"command": "workbench.action.nextSideBarView", | |
"key": "shift+cmd+]", | |
"when": "sideBarVisible && !panelFocus" | |
}, | |
{ | |
"command": "workbench.action.previousSideBarView", | |
"key": "shift+cmd+[", | |
"when": "sideBarVisible && !panelFocus" | |
}, | |
{ | |
"command": "-workbench.action.focusSideBar", | |
"key": "cmd+0" | |
}, | |
{ | |
"command": "-workbench.view.scm", | |
"key": "ctrl+shift+g", | |
"when": "workbench.scm.active" | |
}, | |
{ | |
"command": "workbench.action.togglePanel", | |
"key": "cmd+j" | |
}, | |
{ | |
"command": "-workbench.view.explorer", | |
"key": "shift+cmd+e", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"command": "editor.action.deleteLines", | |
"key": "cmd+backspace", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.deleteLines", | |
"key": "shift+cmd+k", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-deleteAllLeft", | |
"key": "cmd+backspace", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.copyLinesUpAction", | |
"key": "shift+alt+up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"key": "cmd+d", | |
"when": "editorFocus" | |
}, | |
{ | |
"command": "editor.action.copyLinesDownAction", | |
"key": "cmd+d", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.copyLinesDownAction", | |
"key": "shift+alt+down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-expandLineSelection", | |
"key": "cmd+l", | |
"when": "textInputFocus" | |
}, | |
{ | |
"command": "workbench.action.gotoLine", | |
"key": "cmd+l" | |
}, | |
{ | |
"command": "-workbench.action.gotoLine", | |
"key": "ctrl+g" | |
}, | |
{ | |
"command": "-workbench.action.reloadWindow", | |
"key": "cmd+r", | |
"when": "isDevelopment" | |
}, | |
{ | |
"command": "-buck.run-default-build-debug-action", | |
"key": "cmd+r" | |
}, | |
{ | |
"command": "editor.action.startFindReplaceAction", | |
"key": "cmd+r", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"command": "-editor.action.startFindReplaceAction", | |
"key": "alt+cmd+f", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"command": "editor.action.moveLinesUpAction", | |
"key": "shift+cmd+up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.moveLinesUpAction", | |
"key": "alt+up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "editor.action.moveLinesDownAction", | |
"key": "shift+cmd+down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"command": "-editor.action.moveLinesDownAction", | |
"key": "alt+down", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment