Keybindings
Garden uses the platform-native modifier: Cmd on macOS, Ctrl on Windows
and Linux. Below, Mod stands for whichever one your platform uses.
All shortcuts are customizable through .gardenvimrc - see Vim Mode.
Navigation
| Shortcut | Action |
|---|
Mod + K | Command palette |
Mod + O | Open file |
Mod + G | Go to line |
F12 | Go to definition |
Shift + F12 | Find references |
F2 | Rename symbol |
F8 / Shift + F8 | Next / previous diagnostic |
Mod + . | Show diagnostic peek |
Editing
| Shortcut | Action |
|---|
Mod + S | Save |
Mod + Shift + S | Save all |
Mod + F / Mod + R | Find / replace |
Mod + Shift + F | Find in files |
Mod + D | Add cursor at next occurrence |
Mod + Alt + Up/Down | Add cursor above / below |
Mod + Shift + D | Duplicate line |
Alt + Up/Down | Move line up / down |
Panels
| Shortcut | Action |
|---|
Mod + 1..4 | Focus left sidebar panels |
Mod + Alt + 1..5 | Focus right panels |
F5 | Play from cursor |
F10 | Cycle theme |
Bookmarks
| Shortcut | Action |
|---|
Ctrl + M | Toggle bookmark |
F3 / Shift+F3 | Next / previous bookmark |
Ctrl + Shift + M | Show bookmarks |
Open the command palette (Mod + K) at any time to browse and search every
available action alongside its current binding.