Created
August 16, 2021 12:14
-
-
Save keidarcy/7592dcfd889fde19b89de09a25f4f287 to your computer and use it in GitHub Desktop.
vscode keybind
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": "cmd+n", // "cmd+n" on mac | |
"command": "extension.advancedNewFile", | |
}, | |
{ | |
"key": "escape", // cancel for vim multi-cursor mode | |
"command": "removeSecondaryCursors", | |
"when": "editorHasMultipleSelections && textInputFocus" | |
}, | |
{ | |
"key": "alt+cmd+e", | |
"command": "workbench.extensions.action.openExtensionsFolder" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+f10", | |
"command": "-editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+cmd+right", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "alt+cmd+left", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+z", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+q cmd+q", | |
"command": "workbench.action.quit" | |
}, | |
{ | |
"key": "cmd+q", | |
"command": "-workbench.action.quit" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "cmd+o cmd+o", | |
"command": "editor.action.smartSelect.grow" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "cmd+g cmd+g", | |
"command": "git-graph.view" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+a", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+a", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+a", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+f5", | |
"command": "-workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+alt+l", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "ctrl+b 5", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+[IntlYen]", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "ctrl+b h", | |
"command": "workbench.action.splitEditorLeft" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+[IntlYen]", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+b j", | |
"command": "workbench.action.splitEditorDown" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.navigateRight" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.navigateUp" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.navigateDown" | |
}, | |
{ | |
"key": "alt+cmd+enter", | |
"command": "editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "shift+cmd+enter", | |
"command": "editor.action.openLink" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+b l", | |
"command": "workbench.action.splitEditorRight" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "editor.action.onTypeRename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+f2", | |
"command": "-editor.action.onTypeRename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+j", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+k", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+cmd+s", | |
"command": "toggleSuggestionDetails", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-toggleSuggestionDetails", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+b k", | |
"command": "workbench.action.splitEditorUp" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "cmd+k w", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "ctrl+cmd+r", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-code-runner.run" | |
}, | |
{ | |
"key": "ctrl+cmd+b", | |
"command": "editor.emmet.action.balanceOut" | |
}, | |
{ | |
"key": "ctrl+cmd+v", | |
"command": "editor.emmet.action.balanceIn" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment