Skip to content

Instantly share code, notes, and snippets.

@simon-lang
Created May 23, 2019 23:54
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 simon-lang/be4995305a756df9f740601218cba3a7 to your computer and use it in GitHub Desktop.
Save simon-lang/be4995305a756df9f740601218cba3a7 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+y",
"command": "redo",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+w",
"command": "editor.action.toggleWordWrap",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+h",
"command": "git.viewFileHistory",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+g",
"command": "workbench.action.git.globalOpenChange"
},
{
"key": "cmd+[",
"command": "workbench.action.compareEditor.previousChange"
},{
"key": "ctrl+cmd+p",
"command": "workbench.action.openRecent"
},
{
"key": "cmd+]",
"command": "workbench.action.compareEditor.nextChange"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment