Skip to content

Instantly share code, notes, and snippets.

@remainstheday
Last active February 17, 2025 18:31
Show Gist options
  • Select an option

  • Save remainstheday/42fa077ef52f518e5e687108d2c5e497 to your computer and use it in GitHub Desktop.

Select an option

Save remainstheday/42fa077ef52f518e5e687108d2c5e497 to your computer and use it in GitHub Desktop.
vscode keybindings
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "cmd+0",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+1",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "explorerViewletVisible"
},
{
"key": "cmd+1",
"command": "-workbench.view.explorer"
},
{
"key": "cmd+k shift+cmd+right",
"command": "-workbench.action.moveEditorRightInGroup"
},
{
"key": "cmd+n",
"command": "welcome.showNewFileEntries"
},
{
"key": "ctrl+alt+cmd+n",
"command": "-welcome.showNewFileEntries"
},
{
"key": "alt+cmd+2",
"command": "workbench.action.moveEditorToRightGroup"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "shift shift",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+n",
"command": "-workbench.action.files.newUntitledFile",
"when": "!editorTextFocus || editorTextFocus && !editorHasCodeActionsProvider"
},
{
"key": "cmd+1",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "explorerViewletFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.toggleAuxiliaryBar"
},
{
"key": "alt+cmd+b",
"command": "-workbench.action.toggleAuxiliaryBar"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+3",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "searchViewletVisible"
},
{
"key": "cmd+2",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "shift+escape",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "sideBarFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment