Skip to content

Instantly share code, notes, and snippets.

@jasonliao
Created November 5, 2020 11:30
Show Gist options
  • Save jasonliao/6d8875e00c6427fcb9820e7a8541b753 to your computer and use it in GitHub Desktop.
Save jasonliao/6d8875e00c6427fcb9820e7a8541b753 to your computer and use it in GitHub Desktop.
vscode keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+]",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "cmd+[",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "ctrl+h",
"command": "workbench.action.focusSideBar",
"when": "editorFocus"
},
{
"key": "ctrl+h",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!editorFocus"
},
{
"key": "s",
"command": "macros.splitRightOpenFile",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "ctrl+enter",
"command": "-explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "v",
"command": "macros.splitDownOpenFile",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "o",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "l",
"command": "-list.select",
"when": "listFocus && !inputFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment