1 The Editor
jess edited this page 2026-04-15 09:38:07 -07:00

The Editor

Modes

Mode Behaviour
Live (default) Blocks rendered, eval runs on a 300ms debounce, tables interactive
Editor Raw markdown, single text editor, no eval
View Read-only rendered. i → Editor, / → Live

Eval-line forms

Prefix Result
/= Inline value (or error)
/=| Read-only computed table
/=\ Tree widget

Title bar

Double-click the title to edit. Enter commits; Esc cancels. If the document's first line is # heading, it is rewritten; otherwise a fresh # title line is prepended.

Find / replace

Cmd+F toggles. Live current/total match count. Case-insensitive. Cmd+G / Cmd+Shift+G for next / previous. Esc hides.

Smart edits

  • Smart-backspace: deletes back to the previous 4-space tab stop in leading whitespace.
  • Auto-indent on Enter.
  • Auto-indent after { / [ / ( on line end.
  • Auto-dedent on } / ] / ) typed at a whitespace-only prefix.
  • Tab / Shift+Tab indent / outdent to the nearest 4-space stop.

Undo / redo

200-entry bounded stack. Edits within 500ms of the previous same-kind edit coalesce. Structural operations push an explicit snapshot.

See also