mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
Manage VS Code keybindings for GNOME desktops
Deploy user-level keybindings.json from vscode_keybindings so Alt+J toggles the terminal and the panel from the terminal. Keys avoid Ctrl+<letter> to leave Vim motions untouched. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -144,3 +144,12 @@ vscode_extensions:
|
||||
- saoudrizwan.claude-dev
|
||||
- vscodevim.vim
|
||||
vscode_settings: null
|
||||
# User-level keybindings apply to every window, including Dev Containers, SSH and WSL remotes.
|
||||
# Keys avoid Ctrl+<letter>, which the Vim extension uses for its motions; Alt is not bound by Vim.
|
||||
vscode_keybindings:
|
||||
- key: alt+j
|
||||
command: workbench.action.terminal.toggleTerminal
|
||||
when: "!terminalFocus"
|
||||
- key: alt+j
|
||||
command: workbench.action.togglePanel
|
||||
when: terminalFocus
|
||||
|
||||
Reference in New Issue
Block a user