Skip to content

Instantly share code, notes, and snippets.

@adamjcooper
Last active January 7, 2017 11:56
Show Gist options
  • Save adamjcooper/e46d356665e4b8839646b4d7fe981bce to your computer and use it in GitHub Desktop.
Save adamjcooper/e46d356665e4b8839646b4d7fe981bce to your computer and use it in GitHub Desktop.
vs code keybindings
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+alt+shift+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+shift+up",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment