Modes
VimSheet uses a modal interface inspired by Vim. Each mode provides a different set of keybindings for interacting with the spreadsheet.
Normal Mode
Default mode on startup. Use Vim-style keys to move the cursor around the
grid. Press : to enter a command, \ or = to insert, v for visual
selection.
Cell Editor (EDIT)
The unified editor handles every kind of cell entry — new values, formulas, and edits to existing content. It has two sub-modes:
insert — type directly into the cell. The formula bar shows
INSERT. Tab moves to the next cell to the right. PressAlt+Enterto insert a newline within the cell content; the grid row expands vertically to show all lines.normal — vi motions and operators over the cell text (
h/l,w/b,dw,cw,x,r…). The formula bar showsEDIT.
Entry keys such as \ and = open the editor in insert sub-mode so you
can type immediately. From insert sub-mode, Escape drops to normal
sub-mode (keeping your text) so you can fix a typo with vi motions; Enter
commits from either sub-mode. e / E open the editor directly in
normal sub-mode.
Visual Modes
Select ranges using keyboard motions:
vthenh/j/k/l— expand selectionV— select entire rowsCtrl+v— select rectangular blockH/M/L— jump to top / middle / bottom of viewportCtrl+a/Ctrl+x— increment / decrement all numeric cellsgo<addr>Enter— extend selection to addressz_/z+— collapse / expand all selected rowsy— yank (copy) selectiond— delete selectionx— cut selection
Command and Search Lines
: opens the command line; / and ? open a search prompt. Both use
the same unified editor as cells, so they also have insert and normal
sub-modes:
Type immediately in the insert sub-mode.
Tabcompletes the command (commands, file paths, sheet names, theme names);Up/Downbrowse history.Escapedrops to the normal sub-mode, whereh/l/w/b,x,dw, and friends edit the line — useful for fixing a long command.k/jbrowse history.Enterruns the command or search from either sub-mode.Escapefrom the normal sub-mode cancels the line and returns to NORMAL.
See Commands for the full command reference.