Skip to content

Instantly share code, notes, and snippets.

@loriculberson
Created April 14, 2020 21:53
Show Gist options
  • Select an option

  • Save loriculberson/afb5a28483fd95d221fde86a448f5fac to your computer and use it in GitHub Desktop.

Select an option

Save loriculberson/afb5a28483fd95d221fde86a448f5fac to your computer and use it in GitHub Desktop.
VS Code Key bindings
// Place your key bindings in this file to overwrite the defaults
[
  {"key": "ctrl+1", "command": "workbench.action.terminal.focus"},
  {"key": "ctrl+1", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"},
  {"key":"cmd+1", "command":"workbench.action.openEditorAtIndex1"},
  {"key":"cmd+2", "command":"workbench.action.openEditorAtIndex2"},
  {"key":"cmd+3", "command":"workbench.action.openEditorAtIndex3"},
  {
    "key": "alt+cmd+p",
    "command": "editor.action.formatDocument"
  },
  {
    "key": "cmd+l",
    "command": "expandLineSelection",
    "when": "textInputFocus"
  },
  {
    "key": "cmd+l",
    "command": "-expandLineSelection",
    "when": "textInputFocus"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment