summaryrefslogtreecommitdiff
path: root/docs/typ/builtins-tui.json
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-26 00:28:55 -0300
committerGabriel Schneider <[email protected]>2026-11-26 02:11:21 -0300
commitd75f8947fde8d2fa425ee0b60c7a687a0ff9f314 (patch)
treee0b47f2e736215f688aa90e947b49edabba009ab /docs/typ/builtins-tui.json
parentf6f02bab7554e50241faa1a0c81517126bd06b94 (diff)
downloadpardes-d75f8947fde8d2fa425ee0b60c7a687a0ff9f314.tar.gz
pardes-d75f8947fde8d2fa425ee0b60c7a687a0ff9f314.zip
Pick, builtins, config, Core, docs: Lists, a picker of the kept pickers (UX DESIGN L'3, binding; the user liked L-c): `SPC f l`, the word Lists, and `'` among a picker's sources (M-h) open it from the asking pane (Source.lists; from a live picker, one of its own where that one was asked: switchTo); its rows, newest first (Pick.nth), are the kept pickers' list words, the source word, the query (refinements joined by ` | `), `cursor/matches` and `•N` when marked (Pick.wordOf), each with where it last landed at its right, dim, `@p2 › words.zig:16` (Pick.landed, written by land); the body previews the picker's current row as any place (its row's target); the band's second step, a doc, shows that picker's rows around its cursor, which is marked `▶`, read only (Pick.listedStep); Enter (and B3 on a row) reopens that picker as it was left, where Lists was asked from, the newest now (Pick.reopenListed); Esc to rest; no acts and no sources in it (head `⏎ reopen it · esc`; execWord passes it by); Lists itself is never kept: Pardes.picks has one more slot, Lists takes the one Lists had or a free one, never drops a kept picker for its room, is never in Resume's order, in Lists' rows or the count of the kept (Pick.make, nth, nkept); Resume's doc says its walk; docs: the reference's "Back to a picker" (the three ways and what Ctrl-o, Resume and Lists do), the cheatsheet's Ctrl-o row and `SPC f l`, `SPC '`; builtins-tui.json regenerated (Lists, Resume); RUN (TEST FIRST): Pick.zig "Lists (UX L'3) ..." keeps eight lists (G left on its second row, H landed), opens Lists and asks that none was dropped and it is none of the kept, its rows `H 1/2` .. `A 1/2` newest first with H's `@pN › alpha.zig:2`, on G the body previewing beta.zig at line 2 and its rows beside with the second marked, Enter reopening G on its second row as the newest, a ninth picker dropping the oldest kept and never for Lists' room, and M-h `'` from a live J opening Lists with J first: does not build on L'2's tree (no Lists source), passes now; goldens: find (the SPC f level shows `l Lists`); with L'1 and L'2 under it: core-test 1127/1300 (173 skipped; the docs test caught `#key("Backspace")` and `#key("'")`, which name no binding: written as text, passing alone), shell-test 1348/1351 (3 skipped, the same), pane-test 183/184, behaviour-test 280/280 and --replay 280/280, process-test 2 of 147 failed before find moved (find; ttyhelp the placeholder), term-test 17/17, kitty-test 45/45; the dump fuzz (Step.search, Pick.used, landed, walking, Pardes.resume_at, picks one more) at 40,000 join seeds twice and 1,779 image seeds 13/13; the soak replicas --clients 5 --rtt 30,80,207: diverged 0, unequal 0, quiet checks 351/0 481/0 564/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak; the frame and perf gate on the stack's top; load 2.4 to 13.7
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'docs/typ/builtins-tui.json')
-rw-r--r--docs/typ/builtins-tui.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json
index 9d726dc5..91757231 100644
--- a/docs/typ/builtins-tui.json
+++ b/docs/typ/builtins-tui.json
@@ -59,6 +59,7 @@
{"name": "Kill", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Stop the commands pardes started that are still running.", "text": "Stop the commands pardes started that are still running.\nThey are the lines pardes typed into a terminal (from an exec, a middle click, a pty/run) and its command panes. Bare, every one; `Kill make ls`, those whose line starts with one of the words. Each gets SIGTERM: a command pane's whole command, a terminal's foreground job, never its shell, which stays."},
{"name": "Last", "leader": "SPC j j", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Go back to the last place jumped from in another pane.", "text": "Go back to the last place jumped from in another pane.\nWith none, to the pane beside this one."},
{"name": "Left", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane, or column tag, to the left.", "text": "Move the keyboard to the pane, or column tag, to the left."},
+ {"name": "Lists", "leader": "SPC f l", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Pick from the last pickers kept, newest first: Enter reopens one as it was left.", "text": "Pick from the last pickers kept, newest first: Enter reopens one as it was left.\nA row each: its source, query, cursor and marks, where it last landed at its right. The body previews its current row; beside the rows, its first rows. `SPC f l`, or `'` in a picker's sources (M-h)."},
{"name": "LocationsConfig", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Set how a list's location rows are drawn: `LocationsConfig layout:inline context:2`.", "text": "Set how a list's location rows are drawn: `LocationsConfig layout:inline context:2`.\nIts fields: `context:<lines>` around each, `tscontext:on|off`, `tslocations:on|off`, `layout:inline|stacked`; those not given stay. Bare, it shows them in a +LocationsConfig."},
{"name": "Look", "leader": null, "also": ["enter", "right-click"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Look at its argument as B3 does: open the file or address it names, else find the word.", "text": "Look at its argument as B3 does: open the file or address it names, else find the word.\n`Look notes.txt:12` opens the file at line 12, or goes to the pane already showing it; an address may be a line, `:12:5`, `/re/`, a directory (a pane listing it) or a URL (the browser, by a plumbing rule). A relative path is found in the directory of the pane looked from, then of each pane on the jump list. Bare (Enter): the selection, else what is under the cursor."},
{"name": "LookNext", "leader": "SPC j n", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the next thing a Look would open: a place in a list, a word that names a file.", "text": "Select the next thing a Look would open: a place in a list, a word that names a file.\nThe walk goes on through the panes in order, the keyboard with it; Enter opens what it selected."},
@@ -87,7 +88,7 @@
{"name": "Rename", "leader": "SPC l r", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Rename the symbol under the cursor to its argument, wherever the language server finds it.", "text": "Rename the symbol under the cursor to its argument, wherever the language server finds it.\nBare, it asks for the new name. Within this file it is done at once, saying how many places changed; one that reaches other files changes nothing and lists its edits in a +Search to look over."},
{"name": "Repl", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Bind this terminal as a language's REPL: an exec on that language's files is typed into it.", "text": "Bind this terminal as a language's REPL: an exec on that language's files is typed into it.\n`Repl python` binds it (the language named as a code fence names it: `py`, `Python`, `sh`); `Repl -` unbinds it; bare, it says what it is bound as. An exec made on the body of a file in that language (a middle click, the execute key, a single word like `ls` as much as a selection), and one made on this terminal's own body, is typed into it (bracketed paste if its program asked for that, else line by line, then Enter) instead of run. With several bound for a language, the exec asks which.\nStill commands, whatever is bound: a word in a tag, `Exec <text>`, a ctl line, and a command word @`cmd` in the text, looked at or clicked."},
{"name": "Restore", "leader": "SPC s r", "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Replace every pane with those of a dump.", "text": "Replace every pane with those of a dump.\n`Restore <label>`: the state file's dump of that label (History lists them); `Restore <file>`: a dump file's, a path, or the name of a file in the DumpDir or the directory pardes runs in. Bare: the last one this session made, else the newest. A file that is not a dump is said first; then, as Exit, it is refused once while a pane holds unsaved text."},
- {"name": "Resume", "leader": "SPC '", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Reopen the last picker as it was: its rows, marks, cursor and query.", "text": "Reopen the last picker as it was: its rows, marks, cursor and query.\nIn the tag of the pane its Enter lands in from this one: this pane if it reads, else its reader. `SPC '`."},
+ {"name": "Resume", "leader": "SPC '", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Reopen the last picker as it was: its rows, marks, cursor and query.", "text": "Reopen the last picker as it was: its rows, marks, cursor and query.\nIn the tag of the pane its Enter lands in from this one: this pane if it reads, else its reader. `SPC '`; again after its Esc, nothing typed between, the one before it; Ctrl-o and Ctrl-i in it, the older and newer."},
{"name": "Right", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane, or column tag, to the right.", "text": "Move the keyboard to the pane, or column tag, to the right."},
{"name": "Save", "leader": "SPC f s", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Write the pane's text to its file, or to the file its argument names.", "text": "Write the pane's text to its file, or to the file its argument names.\n`Save <path>` writes it there. Bare, a pane with no file of its own (a +New, a list, a terminal) asks for a path; a file at a revision is read-only, written only to a path. Over a file changed on disk since it was read, it warns once."},
{"name": "Search", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Search in a query pane under this pane, its line 1 the argument.", "text": "Search in a query pane under this pane, its line 1 the argument.\nLine 1's first word names what it searches: `/re` this pane's text, `Find`, `Grep`, `Recent`, `Panes`, `Symbols`, `All` (every open pane's text), `Refs`, `Def`, `Impl`, `Diagnostics`; a line with none of them is a `/`: `Search lay` is `/lay`. Bare, `/`, typed into. `SPC b b`, `SPC s s` and `SPC /` open it with Panes, Symbols and All."},