Skip to content

Instantly share code, notes, and snippets.

@goldsborough
Created October 9, 2019 05:40
Show Gist options
  • Save goldsborough/8108398810cf9a8c658064e2b2747578 to your computer and use it in GitHub Desktop.
Save goldsborough/8108398810cf9a8c658064e2b2747578 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaults
[
{
"key": "shift+backspace",
"command": "deleteRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+d",
"command": "deleteWordRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+shift+k",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+h",
"command": "editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+shift+h",
"command": "editor.action.replaceAll",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+k cmd+h",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "cmd+k cmd+l",
"command": "workbench.action.focusRightGroup"
},
{
"key": "cmd+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+\\",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+k l",
"command": "workbench.action.moveEditorToNextGroup"
},
{
"key": "cmd+k h",
"command": "workbench.action.moveEditorToPreviousGroup"
},
{
"key": "cmd+t",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "cmd+l",
"command": "editor.action.transformToLowercase"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment