Vim mode
Garden has optional modal editing. Toggle it from the Settings dialog or
set vim_mode = true in your user settings.
Customizing bindings
Drop a .gardenvimrc in your config home to
override defaults. The file uses a subset of Vim script, including
nnoremap, vnoremap, onoremap, and inoremap. Safe editor actions
can be mapped to insert mode; all app actions (save, open, palette,
goto-definition, etc.) are available via :action <name>.
" Example .gardenvimrc
nnoremap <C-p> :action palette_open<CR>
nnoremap gd :action goto_definition<CR>
nnoremap <leader>rn :action rename_symbol<CR>
inoremap jk <Esc>
See the full example .gardenvimrc
for the complete list of available actions and key-specs.
Note on modifiers: <C-x> is literal Ctrl on every platform; <D-x>
is Cmd on macOS and Ctrl elsewhere.