Every time I watch someone elegantly navigate vim, I feel somewhat ashamed of my own clunky mouse-driven workflow, and also disappointed for having tried to learn vim, but never really sticking with it.
At this point, VSCode or Cursor will still be my daily IDE's of choice, and I am actually fully happy with that reality. I do however want to cut down on mouse usage where possible, and replace those with shortcuts.
Here's a note to myself to remember the keybindings I have set.
Note
These can be found via the VSCode command palette:
Preferences: Open Keyboard Shortcuts (JSON)
| key | command | when |
|---|---|---|
| ctrl+` | workbench.action.terminal.focus | |
| ctrl+` | workbench.action.focusActiveEditorGroup | terminalFocus |
| cmd+k | workbench.action.terminal.clear | terminalFocus && terminalProcessSupported |
| alt+- | workbench.action.decreaseViewWidth | editorFocus && !auxiliaryBarFocus |
| alt+= | workbench.action.increaseViewWidth | editorFocus && !auxiliaryBarFocus |
| alt+\ | workbench.action.evenEditorWidths | editorFocus && !auxiliaryBarFocus |
| cmd+b | workbench.action.focusSideBar | sideBarVisible == false |
| cmd+b | workbench.action.toggleSidebarVisibility | sideBarVisible == true |
| alt+- | runCommands | sideBarFocus |
| alt+= | runCommands | sideBarFocus |
| alt+- | runCommands | auxiliaryBarFocus |
| alt+= | runCommands | auxiliaryBarFocus |
| shift+cmd+b | workbench.action.focusAuxiliaryBar | auxiliaryBarVisible == false |
| shift+cmd+b | workbench.action.toggleAuxiliaryBar | auxiliaryBarVisible == true |
| cmd+alt+f | workbench.action.quickTextSearch |