Skip to content

Instantly share code, notes, and snippets.

@kristianmitk
Last active May 7, 2019 08:20
Show Gist options
  • Save kristianmitk/ac1a8409cf6cdc046d20ee2a7b49eb76 to your computer and use it in GitHub Desktop.
Save kristianmitk/ac1a8409cf6cdc046d20ee2a7b49eb76 to your computer and use it in GitHub Desktop.
VSCode key bindings
[
{
"key": "cmd+k cmd+b",
"command": "workbench.action.toggleActivityBarVisibility"
},
{ "key": "cmd+k cmd+0", "command": "editor.foldAll" },
{
"key": "cmd+0 cmd+K",
"command": "editor.unfoldAll"
},
{
"key": "cmd+l",
"command": "gitlens.copyRemoteFileUrlToClipboard"
},
{
"key": "cmd+shift+r",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "ctrl+enter",
"command": "editor.action.revealDefinitionAside",
"when": "editorTextFocus"
},
{
"key": "right",
"command": "list.select",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder"
},
{
"key": "ctrl+t",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "console.log('${TM_SELECTED_TEXT}', ${TM_SELECTED_TEXT});"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment