View Command

zetl view is a Xanadu-inspired two-pane reader for focused page navigation. See Xanadu Lineage for the design philosophy.

Usage

zetl view "Scanner"               # open a specific page
zetl view                         # open the page picker
zetl view "Scanner" --context-lines 10 --main-width 60

Flags

FlagDefaultDescription
--context-lines N5Lines shown per context card (1–20)
--main-width pct58Percentage of terminal width for the main pane (30–80)

Layout

The screen is divided into three columns:

  • Left pane — the current note, rendered with numbered [N] anchor glyphs at each wikilink
  • Bridge column — color-coded connectors pairing anchors to cards
  • Right pane — context cards: excerpts from forward-linked pages

In narrow terminals (<60 cols), the view falls back to a single-pane layout.

Keybindings

KeyAction
j / kScroll (or cycle links in focus mode)
Ctrl-d / Ctrl-uHalf-page scroll
g / GTop / bottom of note
TabToggle between scroll and focus mode
EnterNavigate to focused link
[ / ]Session history back / forward
bToggle backlink mode
/Open page picker
?Toggle keybindings help
qQuit

Implementation

Built on ratatui and crossterm, like the TUI. Supports true-color, 8-color, and no-color terminals. See Xanadu View Design for design decisions and SPEC-009 Xanadu View for the full specification.

See also: CLI Reference, TUI, Xanadu Lineage, Serve Command

Backlinks