diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 00:28:55 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 02:11:21 -0300 |
| commit | d75f8947fde8d2fa425ee0b60c7a687a0ff9f314 (patch) | |
| tree | e0b47f2e736215f688aa90e947b49edabba009ab /docs/typ/reference.typ | |
| parent | f6f02bab7554e50241faa1a0c81517126bd06b94 (diff) | |
| download | pardes-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/reference.typ')
| -rw-r--r-- | docs/typ/reference.typ | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 996906ac..778b2fa5 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -1318,6 +1318,27 @@ for that directory reuses a finished one (from a column tag, only one in that column); one still running, one a background job still prints to, or one a #file("exec") open still holds is never reused. In a command pane, #key("n") walks that pane's own `file:line` places first (make's errors), whichever pane was walked last, then on through the others. += Back to a picker <back> + +The last eight pickers are kept, each as it was left: its query, +refinements, cursor and marks. Three ways reach them. A pane's walk is a +stack, its words left to right: #key("Ctrl-o") steps one word back, +#key("Ctrl-i") one on; onto a place it goes there, onto a list's word it +unrolls that picker again, previewing in the pane (#key("Enter") lands as +the word's, dropping the steps after it; #key("Esc") leaves the pane as it +was; #key("Ctrl-o"), #key("Ctrl-i") and Backspace on its empty field +walk on), onto a search's word it puts the caret where the search began, +its places lit; a held pane walks its own search and recipe words; past +the walk, the jump history. After a picker's or a search's #key("Enter") +the notice row says what #key("Ctrl-o") reaches. #word("Resume") +(#key("SPC '")) reopens the newest picker, and again after its +#key("Esc"), nothing typed between, the one before; in one it opened +#key("Ctrl-o") and #key("Ctrl-i") step to the older and newer, its head +`Resume 2/5`. #word("Lists") (#key("SPC f l"), `'` among a picker's +sources) lists them newest first, where each last landed at its right, +the body previewing its current row; #key("Enter") reopens it. Reopened +or landed, a picker is the newest; the least used goes for a ninth. + = Find and Grep <find-grep> Both fill the asking pane's query pane (#doc("guide", section: "search")), |
