Skip to content

Instantly share code, notes, and snippets.

@fumihumi
Created July 20, 2020 01:13
Show Gist options
  • Save fumihumi/e1fde24f73c4fea5950f47a2e7de2fbc to your computer and use it in GitHub Desktop.
Save fumihumi/e1fde24f73c4fea5950f47a2e7de2fbc to your computer and use it in GitHub Desktop.
vscodeのkeybindings
// Place your key bindings in this file to override the defaultsauto[]
[
// move pane, like tmux
{ "key": "ctrl+b h", "command": "workbench.action.focusLeftGroup", },
{ "key": "ctrl+b l", "command": "workbench.action.focusRightGroup" },
{ "key": "ctrl+b j", "command": "workbench.action.focusBelowGroup" },
{ "key": "ctrl+b k", "command": "workbench.action.focusAboveGroup" },
{ "key": "ctrl+b n", "command": "workbench.action.focusNextGroup" },
{ "key": "ctrl+b p", "command": "workbench.action.focusPreviousGroup" },
{ "key": "ctrl+b shift+\\", "command": "workbench.action.splitEditor" },
{ "key": "ctrl+b -", "command": "workbench.action.splitEditorOrthogonal" },
// move terminal
{ "key": "shift+cmd+t", "command": "workbench.action.terminal.newInActiveWorkspace" },
{ "key": "cmd+shift+h", "command": "workbench.action.terminal.focusPrevious" },
{ "key": "cmd+shift+l", "command": "workbench.action.terminal.focusNext" },
{ "key": "cmd+shift+j", "command": "workbench.action.terminal.focus" },
{ "key": "cmd+shift+k", "command": "workbench.action.focusActiveEditorGroup"},
{ "key": "cmd+shift+enter", "command": "workbench.action.terminal.focus" },
{ "key": "cmd+shift+enter", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment