Skip to content

Instantly share code, notes, and snippets.

@vishrayne
Last active November 11, 2018 15:06
Show Gist options
  • Save vishrayne/837fbef972c795220b52c4fe6914a3b7 to your computer and use it in GitHub Desktop.
Save vishrayne/837fbef972c795220b52c4fe6914a3b7 to your computer and use it in GitHub Desktop.
vscode custom keyboard binding
[
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+escape",
"command": "toggle",
"when": "editorTextFocus && !editorReadonly",
"args": {
"id": "editor",
"value": [
{
"editor.codeLens": true
},
{
"editor.codeLens": false
}
]
}
}
]
@vishrayne
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment