Skip to main content

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.

ShortcutAction
Mod + KCommand palette
Mod + OOpen file
Mod + GGo to line
F12Go to definition
Shift + F12Find references
F2Rename symbol
F8 / Shift + F8Next / previous diagnostic
Mod + .Show diagnostic peek

Editing

ShortcutAction
Mod + SSave
Mod + Shift + SSave all
Mod + F / Mod + RFind / replace
Mod + Shift + FFind in files
Mod + DAdd cursor at next occurrence
Mod + Alt + Up/DownAdd cursor above / below
Mod + Shift + DDuplicate line
Alt + Up/DownMove line up / down

Panels

ShortcutAction
Mod + 1..4Focus left sidebar panels
Mod + Alt + 1..5Focus right panels
F5Play from cursor
F10Cycle theme

Bookmarks

ShortcutAction
Ctrl + MToggle bookmark
F3 / Shift+F3Next / previous bookmark
Ctrl + Shift + MShow bookmarks

Open the command palette (Mod + K) at any time to browse and search every available action alongside its current binding.