Keybindings

Complete keybinding reference organized by mode. Numeric prefixes work with most commands (e.g., 5j moves down 5 cells).

Normal Mode

Cell Editor — Insert Sub-mode

All cell entry keys (\, =, <, >, |, A, I, C, S, r, cw, cc) open this editor ready to type.

Cell Editor — Normal Sub-mode

Opened directly by e / E, or reached by pressing Escape while in the insert sub-mode. Provides vi motions and operators over the cell text.

Normal sub-mode:

Key

Action

h / l

Move cursor left / right

w / b

Word forward / backward

e

End of word forward

0 / $

Start / end of line

i / a

Enter insert sub-mode (before / after cursor)

A / I

Append at end / insert at start

x

Delete character at cursor

s / S

Substitute character / substitute whole line

D / dw / cw

Delete to end / delete word / change word

u

Undo within edit

r{char}

Replace character at cursor

Enter / Escape

Commit cell value and return to NORMAL mode

Command / Search Line

: opens the command line and / / ? open search. They use the same editor as cells, with an insert sub-mode for typing and a normal sub-mode for vi motions.

Insert sub-mode (default on entry):

Key

Action

Escape

Move to normal sub-mode (line preserved)

Enter

Run the command / search

Tab

Complete the command (command line only)

Up / Down

Previous / next history entry

Ctrl+u / Ctrl+w

Clear the line / delete the word before the cursor

Normal sub-mode:

Key

Action

h / l / w / b / e / 0 / $

Move within the line

x / dw / d$ / D

Delete in the line

i / a / A / I

Return to the insert sub-mode

k / j

Previous / next history entry

Enter

Run the command / search

Escape

Cancel and return to NORMAL mode

Visual Modes