Skip to content

Instantly share code, notes, and snippets.

@whaaaley
Created December 26, 2025 20:24
Show Gist options
  • Select an option

  • Save whaaaley/f352ee5ea373466c7c1669d3d65d4f02 to your computer and use it in GitHub Desktop.

Select an option

Save whaaaley/f352ee5ea373466c7c1669d3d65d4f02 to your computer and use it in GitHub Desktop.
vscode keybindings - dec 26 2025
[
// ---
// October 9, 2024
// Indent and outdent lines
{ "key": "ctrl+u" , "command": "" },
{ "key": "ctrl+u" , "when": "editorFocus", "command": "editor.action.outdentLines" },
{ "key": "ctrl+i" , "command": "" },
{ "key": "ctrl+i" , "when": "editorFocus", "command": "editor.action.indentLines" },
// Comment and uncomment lines
{ "key": "ctrl+;" , "command": "" },
{ "key": "ctrl+;" , "when": "editorFocus", "command": "editor.action.commentLine" },
// Insert cursor above and below
{ "key": "ctrl+shift+j" , "command": "" },
{ "key": "ctrl+shift+j" , "when": "editorFocus", "command": "editor.action.insertCursorBelow" },
{ "key": "ctrl+shift+k" , "command": "" },
{ "key": "ctrl+shift+k" , "when": "editorFocus", "command": "editor.action.insertCursorAbove" },
// Move line up and down
{ "key": "ctrl+k", "command": "" },
{ "key": "ctrl+k", "when": "editorFocus", "command": "editor.action.moveLinesUpAction" },
{ "key": "ctrl+j", "command": "" },
{ "key": "ctrl+j", "when": "editorFocus", "command": "editor.action.moveLinesDownAction" },
// ---
// November 8, 2024
// Copilot chat generate
{ "key": "ctrl+g", "command": "" },
{ "key": "ctrl+g", "command": "github.copilot.chat.generate" },
// ---
// December 5, 2024
// Pane Navigation
{ "key": "alt+left", "command": "" },
{ "key": "alt+left", "when": "editorFocus", "command": "workbench.action.focusPreviousGroup" },
{ "key": "alt+right", "command": "" },
{ "key": "alt+right", "when": "editorFocus", "command": "workbench.action.focusNextGroup" },
{ "key": "alt+up", "command": "" },
{ "key": "alt+up", "when": "editorFocus", "command": "workbench.action.focusPreviousGroup" },
{ "key": "alt+down", "command": "" },
{ "key": "alt+down", "when": "editorFocus", "command": "workbench.action.focusNextGroup" },
// Pane Merging
{ "key": "alt+shift+left", "command": "" },
{ "key": "alt+shift+left", "when": "editorFocus", "command": "workbench.action.moveEditorToPreviousGroup" },
{ "key": "alt+shift+right", "command": "" },
{ "key": "alt+shift+right", "when": "editorFocus", "command": "workbench.action.moveEditorToNextGroup" },
// Switch to the Previous Tab in the Current Pane
{ "key": "alt+u", "command": "" },
{ "key": "alt+u", "when": "editorFocus", "command": "workbench.action.previousEditorInGroup" },
// Switch to the Next Tab in the Current Pane
{ "key": "alt+i", "command": "" },
{ "key": "alt+i", "when": "editorFocus", "command": "workbench.action.nextEditorInGroup" },
// Swap to the Previous Tab in the Current Pane
{ "key": "ctrl+h", "command": "" },
{ "key": "ctrl+h", "when": "editorFocus", "command": "workbench.action.previousEditorInGroup" },
// Swap to the Next Tab in the Current Pane
{ "key": "ctrl+l", "command": "" },
{ "key": "ctrl+l", "when": "editorFocus", "command": "workbench.action.nextEditorInGroup" },
// ---
// December 21, 2024
// Split and Join Editors
{ "key": "alt+shift+up", "command": "" },
{ "key": "alt+shift+up", "command": "workbench.action.joinTwoGroups" },
{ "key": "alt+shift+down", "command": "" },
{ "key": "alt+shift+down", "command": "workbench.action.splitEditorOrthogonal" },
// ---
// January 25, 2025
// Make Ctrl+MetaNav+Home/End behave the same as MetaNav+Home/End
// Prevents Ctrl+Home/End going to the beginning/end of the file
{ "key": "ctrl+end", "command": "cursorEnd" },
{ "key": "ctrl+home", "command": "cursorHome" },
// This makes Ctrl+MetaNav+PageUp/PageDown behave the same as MetaNav+PageUp/PageDown
// This prevents Ctrl+PageUp/PageDown changing tabs
{ "key": "ctrl+pageup", "command": "" },
{ "key": "ctrl+pagedown", "command": "" },
{ "key": "ctrl+pageup", "command": "cursorTop" },
{ "key": "ctrl+pagedown", "command": "cursorBottom" },
// Prevent tab focus when muting discord
{ "key": "ctrl+m", "command": ""},
// ---
// July 21, 2025
// Prevent accidental jumps to beginning/end of file
{ "key": "ctrl+shift+home", "when": "editorTextFocus", "command": "" },
{ "key": "ctrl+shift+end", "when": "editorTextFocus", "command": "" },
{ "key": "ctrl+b", "command": "" },
{ "key": "ctrl+b", "when": "!sideBarFocus", "command": "workbench.action.focusSideBar" },
{ "key": "ctrl+b", "when": "sideBarFocus", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "ctrl+f", "when": "sideBarFocus", "command": "list.find" },
{ "key": "ctrl+o", "command": "" },
{ "key": "ctrl+o", "when": "!copilotChatViewVisible", "command": "workbench.action.focusAuxiliaryBar" },
{ "key": "ctrl+o", "when": "auxiliaryBarFocus", "command": "workbench.action.closeAuxiliaryBar" },
{ "key": "ctrl+t", "command": "" },
{ "key": "ctrl+t", "when": "!terminalFocus", "command": "workbench.action.terminal.focus" },
{ "key": "ctrl+t", "when": "terminalFocus", "command": "workbench.action.terminal.toggleTerminal" },
{ "key": "ctrl+e", "command": "workbench.action.focusActiveEditorGroup" },
{ "key": "ctrl+d", "command": "" },
{ "key": "ctrl+d", "when": "editorTextFocus", "command": "editor.action.addSelectionToNextFindMatch" },
{ "key": "ctrl+shift+d", "command": "" },
{ "key": "ctrl+shift+d", "when": "editorTextFocus", "command": "editor.action.copyLinesDownAction" },
{ "key": "ctrl+r", "command": "" },
{ "key": "ctrl+r", "when": "editorTextFocus", "command": "editor.action.revealDefinition" },
{ "key": "ctrl+shift+r", "command": "" },
{ "key": "ctrl+shift+r", "when": "editorTextFocus", "command": "editor.action.goToTypeDefinition" },
{ "key": "", "command": "breadcrumbs.toggle" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment