Skip to content

Instantly share code, notes, and snippets.

@lnked
Created July 15, 2022 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lnked/d9215094b275881450412cbec205d1b1 to your computer and use it in GitHub Desktop.
Save lnked/d9215094b275881450412cbec205d1b1 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+shift+down",
"command": "cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+down",
"command": "-cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+up",
"command": "cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+up",
"command": "-cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "shift+cmd+2",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd",
"command": "moveFast.up",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "-moveFast.up",
"when": "editorTextFocus"
},
{
"key": "cmd+up",
"command": "moveFast.up"
},
{
"key": "cmd+down",
"command": "moveFast.down",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "-moveFast.down",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+up",
"command": "moveFast.downSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "-moveFast.downSelect",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+up",
"command": "moveFast.upSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "-moveFast.upSelect",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+r",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "cmd+.",
"when": "editorTextFocus",
"command": "editor.action.quickFix"
},
{
"key": "alt+cmd+h",
"command": "testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible"
},
{
"key": "cmd+h",
"command": "-testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment