Skip to content

Instantly share code, notes, and snippets.

@v801
Last active July 8, 2022 23:55
Show Gist options
  • Save v801/3aa4f07885e1b33475970ebf0a6ad856 to your computer and use it in GitHub Desktop.
Save v801/3aa4f07885e1b33475970ebf0a6ad856 to your computer and use it in GitHub Desktop.
vimlike vscode keybinds
{
"key": "ctrl+k",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+j",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+h",
"command": "workbench.action.focusPreviousGroup",
"when": "!terminalFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.focusNextGroup",
"when": "!terminalFocus"
}
@v801
Copy link
Author

v801 commented Jul 8, 2022

VSCode keybinds to move between editor/terminal in a vimlike fashion

To find the custom keybinds json file:
Open the Command Palette (Ctrl+Shift+P Windows/Linux or ⇧ ⌘ P Mac).
Type "Preferences: Open Keyboard Shortcuts (JSON)" and press Enter.
Original post plus binds from Sam Xu found here: https://stackoverflow.com/a/46439178

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