Last active
November 11, 2018 15:06
-
-
Save vishrayne/837fbef972c795220b52c4fe6914a3b7 to your computer and use it in GitHub Desktop.
vscode custom keyboard binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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 | |
} | |
] | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get toggle plugin from here -> // https://marketplace.visualstudio.com/items?itemName=rebornix.toggle