Skip to content

Instantly share code, notes, and snippets.

@DreamShaded
Created May 13, 2024 18:30
Show Gist options
  • Save DreamShaded/68e2a460234d7cd886e90e3b3b0b8657 to your computer and use it in GitHub Desktop.
Save DreamShaded/68e2a460234d7cd886e90e3b3b0b8657 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+k ctrl+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+k ctrl+d",
"command": "workbench.view.debug"
},
{
"key": "ctrl+k ctrl+x",
"command":
"workbench.extensions.action.showInstalledExtensions"
},
{
"key": "ctrl+k ctrl+b",
"command": "workbench.action.toggleSidebarVisibility",
},
{
"key": "ctrl+e",
"command": "workbench.action.focusActiveEditorGroup",
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+n",
"command": "explorer.newFile",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "shift+ctrl+n",
"command": "explorer.newFolder",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "alt+n",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+l",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus"
},
{
"key": "shift+ctrl+[",
"command": "editor.fold",
"when": "editorFocus"
},
{
"key": "shift+ctrl+]",
"command": "editor.unfold",
"when": "editorFocus"
},
{
"key": "ctrl+backspace",
"command": "editor.action.moveSelectionToPreviousFindMatch",
"when": "editorFocus && editorHasMultipleSelections"
},
{
"key": "ctrl+k ctrl+d",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus && editorHasMultipleSelections"
},
{
"key": "ctrl+right",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorFocus && editorHasSelection"
},
{
"key": "alt+w",
"command": "workbench.action.joinAllGroups",
"when": "editorFocus"
},
{
"key": "alt+n",
"command": "workbench.action.splitEditor",
"when": "editorFocus"
},
{
"key": "alt+l",
"command": "workbench.action.navigateRight",
"when": "editorFocus"
},
{
"key": "alt+h",
"command": "workbench.action.navigateLeft",
"when": "editorFocus"
},
{
"key": "alt+=",
"command": "workbench.action.increaseViewSize",
"when": "editorFocus"
},
{
"key": "alt+-",
"command": "workbench.action.decreaseViewSize",
"when": "editorFocus"
},
{
"key": "ctrl+m ctrl+i",
"command": "editor.emmet.action.balanceIn",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+o",
"command": "editor.emmet.action.balanceOut",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+w",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+m",
"command": "editor.emmet.action.matchTag",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+e",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+r",
"command": "editor.emmet.action.updateTag",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+backspace",
"command": "editor.emmet.action.removeTag",
"when": "editorTextFocus"
},
{
"key": "enter",
"command": "editor.action.nextMatchFindAction",
"when": "findWidgetVisible"
},
{
"key": "shift+enter",
"command": "editor.action.previousMatchFindAction",
"when": "findWidgetVisible"
},
{
"key": "ctrl+;",
"command": "workbench.action.switchWindow"
},
{
"key": "ctrl+r",
"command": "workbench.action.gotoSymbol",
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+k ctrl+enter",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
},
{
"key": "alt+s",
"command": "codesnap.start",
"when": "editorTextFocus"
},
{
"key": "ctrl+k i",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "ctrl+k s",
"command": "-workbench.action.files.saveWithoutFormatting"
},
{
"key": "ctrl+k s",
"command": "workbench.action.files.saveAs"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment