plannotator-tui
Annotate Markdown in the terminal: select text, comment, ๐ looks good, โ delete.
Keys
| Where | Keys |
|---|---|
| anywhere | Tab cycle focus (tree ยท document ยท rail) ยท E send feedback (clipboard) ยท t show/hide tree ยท r reload ยท q quit |
| document | drag with the mouse, or v then hjkl / w b / 0 $ to select; Enter confirms ยท i moves the cursor with those keys first, so v can start mid-block ยท j/k or click selects a block ยท c comments on the block ยท x clears the block's annotations ยท wide Markdown tables wrap by cell |
| selection toolbar | a ๐ looks good ยท c ๐ฌ comment (opens a box at the selection) ยท d โ delete ยท Esc clears |
| rail | j/k move ยท e / Enter edit body ยท x remove ยท click a bubble to focus it |
| file/folder review | E send new ยท m review menu (R resend all ยท F finish review ยท U undo ยท H archive) |
| tree | j/k move ยท Enter open ยท . show/hide hidden (dot-prefixed) entries ยท E send new feedback across files, including collapsed folders ยท counts show active notes per file |
| archive | j/k or โ/โ select ยท Enter or click restore ยท Esc close |
Selections and exports are copied to the terminal clipboard (OSC 52).
Sent notes remain visible. File reviews send only new or edited notes by default;
R explicitly includes the sent ones too. F archives only sent notes that have not
changed since delivery. Archived notes survive restarts, and restoring them keeps their
ids and delivery history. Failed sends keep the feedback pending. The header shows the
send button and a Review โพ (m) button; its menu lists the four actions with live counts,
dims the ones with nothing to act on, and runs a row on Enter, a click, or the row's own
key. The keys also work directly, without the menu.
Where things live
Every annotation is saved the moment it is made, as JSON, in the Plannotator data directory:
~/.plannotator/clients/plannotator-tui/annotations/<project>/<slug>/annotations.json
<project> and <slug> follow Plannotator's own rules (git repo name; basename + 8 hex of
sha256 of the path), so one file maps to one directory in both tools. The records are in the
Plannotator Workspaces wire shape (plannotator-tui-schema); any agent can read them. Nothing is
written next to your files. PLANNOTATOR_DATA_DIR relocates the directory. Transient
documents (an agent's last message, stdin) are never persisted.
Headless tools
|
Measured (Apple Silicon, release build)
| corpus | blocks | rows | render + align | reflow on resize | row lookup |
|---|---|---|---|---|---|
| plugins.md (16 KB) | 60 | 305 | 14 ms | 0.7 ms | 20 ns |
| big.md (2.5 MB, 50k lines) | 14,100 | 56,999 | 352 ms | 50 ms | 15 ns |
Per frame, only visible rows are touched.
Known limits
- Reference-style links and footnotes lose their target when a block is rendered alone.
- A whole list is one block for block-level commands; text selection is not affected.