Skip to content

Instantly share code, notes, and snippets.

@alexbrinkman
Last active October 21, 2019 21:27
Show Gist options
  • Save alexbrinkman/7569da4bf49025c64456dccba96e9331 to your computer and use it in GitHub Desktop.
Save alexbrinkman/7569da4bf49025c64456dccba96e9331 to your computer and use it in GitHub Desktop.
VSCode Key Bindings
// Place your key bindings in this file to overwrite the defaultsauto[]
[
{
"key": "shift+cmd+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+p",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "cmd+y",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+r",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "alt+cmd+\\",
"command": "-workbench.files.action.showActiveFileInExplorer"
},
{
"key": "shift+cmd+.",
"command": "erb.toggleTags",
"when": "editorTextFocus && editorLangId == erb"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment