diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-23 15:59:04 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-23 16:00:06 -0300 |
| commit | 5a62039f3e91f62e45bb0e969a3b76568d4f92ff (patch) | |
| tree | c829c591a022fef303c67a1e142faa467efa58ad /docs/typ | |
| parent | 4f685df6994977843b82dd09572fed6c744b35d0 (diff) | |
| download | pardes-5a62039f3e91f62e45bb0e969a3b76568d4f92ff.tar.gz pardes-5a62039f3e91f62e45bb0e969a3b76568d4f92ff.zip | |
help: the words of looking and finding documented for a user (item 5's second group: `Look`, `Exec`, `Find`, `Grep`, `Search`, `More`, `Panes`, `Recent`, `LookNext`, `LookPrev`), each sentence checked against its run (core/look.zig `lookAt` and `lookWalk`, core/exec.zig `executeFrom`, core/builtins.zig `search`, core/Query.zig `open`, core/Stream.zig `moreFor`) and the guide's chapters "Look" and "Search": Look (its argument's address forms, where a relative path is found, bare: the selection, else what is under the cursor), Exec (a builtin, else the line: typed into the terminal it runs from at an idle, empty prompt, else a command pane, `$SHELL -c`, `exit N`, Kill; run by name never a REPL's), Find and Grep (a query pane under the pane, line 1 the word and the argument; with a word listed, the keyboard left where it was, bare typed into; Find fuzzy over names, Grep the text as it is; 2000 lines and More; a script's search that finds nothing fails, `not found`), Search (line 1's first word names the source, `/` when none does; `SPC b b`, `SPC s s`, `SPC /`), More, Panes (open, then closed this session; Enter brings one back), Recent, LookNext and LookPrev (what a Look would open, walked through the panes, the keyboard with it); was: Grep "Find's sibling ... on the disk engine's worker", Exec with no word of where a command's output goes; docs/typ/builtins-tui.json regenerated
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ')
| -rw-r--r-- | docs/typ/builtins-tui.json | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 5f1ef67c..233588ae 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -36,14 +36,14 @@ {"name": "DumpDir", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The directory of the state file, where Dump writes and Recent is kept.", "text": "The directory of the state file, where Dump writes and Recent is kept. A relative Restore name is looked for there too; bare, the default."}, {"name": "DumpThemes", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Write the bundled themes into the config directory's themes, to edit.", "text": "Write the bundled themes into the config directory's themes, to edit."}, {"name": "Edit", "leader": null, "also": [], "arg": true, "scope": "both", "setting": false, "choices": null, "doc": "Run a command of sam's language over the open text panes, starting in this pane's body.", "text": "Run a command of sam's language over the open text panes, starting in this pane's body.\nAs acme's Edit: from a tag, a pane's ctl or an exec. One undo step in each file it changes; a failure changes nothing and says why."}, - {"name": "Exec", "leader": null, "also": ["tab", "middle-click"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Execute its argument as a middle click on it would, a builtin or a shell command.", "text": "Execute its argument as a middle click on it would, a builtin or a shell command."}, + {"name": "Exec", "leader": null, "also": ["tab", "middle-click"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Run its argument as B2 on it would: a builtin, else a shell command.", "text": "Run its argument as B2 on it would: a builtin, else a shell command.\n`Exec Newcol` runs the builtin. `Exec make test` runs the line: from a terminal at an idle, empty prompt, typed into its shell; from anywhere else, in a command pane (a terminal running `$SHELL -c` the line, which shows its output and `exit N` when it ends; Kill stops it). Run by name, a line is never a REPL's."}, {"name": "Exit", "leader": "SPC q", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Quit the editor; refused once while a pane holds unsaved text.", "text": "Quit the editor; refused once while a pane holds unsaved text.\nEach pane with unsaved text is listed in +Unsaved and the notice counts them; Exit again, nothing edited since, quits and discards it."}, {"name": "Filter", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Recolour a terminal's or a +Pager's program colours to the theme, or show them as sent.", "text": "Recolour a terminal's or a +Pager's program colours to the theme, or show them as sent.\nEach Filter flips between the two."}, - {"name": "Find", "leader": "SPC f f", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the files below this pane's directory whose names hold its argument, in a +Search.", "text": "List the files below this pane's directory whose names hold its argument, in a +Search."}, + {"name": "Find", "leader": "SPC f f", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the files below this pane's directory whose names match its argument.", "text": "List the files below this pane's directory whose names match its argument.\nA query pane under this pane, its line 1 `Find <name>`, the files under it by a fuzzy match of their names: with a word, listed, the keyboard left where it was; bare (`SPC f f`), typed into. Enter or B3 on a row opens that file. A script's Find that finds nothing fails, `not found`."}, {"name": "Follow", "leader": "SPC c f", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show one text across a chain of panes as consecutive pages, scrolled as one.", "text": "Show one text across a chain of panes as consecutive pages, scrolled as one.\nAs Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the text, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow."}, {"name": "Forward", "leader": "SPC j i", "also": ["C-i"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Ctrl-i: one step forward again, up to wherever Back started.", "text": "Ctrl-i: one step forward again, up to wherever Back started."}, {"name": "Get", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "acme's Get: the pane's file read again, its unsaved edits refused once as Del refuses them.", "text": "acme's Get: the pane's file read again, its unsaved edits refused once as Del refuses them. `Get file` loads that file into the pane instead, the pane taking its name."}, - {"name": "Grep", "leader": "SPC f g", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the lines of the files below this pane's directory that hold its argument.", "text": "List the lines of the files below this pane's directory that hold its argument.\nFind matches the files' names, Grep the lines of those files, on the disk engine's worker. A query pane under this pane: bare (`SPC f g`) typed into; with a word, listed."}, + {"name": "Grep", "leader": "SPC f g", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the lines of the files below this pane's directory that hold its argument.", "text": "List the lines of the files below this pane's directory that hold its argument.\nThe text is matched as it is, not as a pattern, in a query pane under this pane, its line 1 `Grep <text>`: with a word, listed, the keyboard left where it was; bare (`SPC f g`), typed into. Past 2000 lines it stops, and More goes on. A script's Grep that finds nothing fails, `not found`."}, {"name": "Help", "leader": "SPC ?", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Show every builtin with its keys and documentation, or one builtin's alone.", "text": "Show every builtin with its keys and documentation, or one builtin's alone.\n`Help <name>`: that builtin alone, its keys spelled out, what it acts on and its line for a shell (`Help Diff`); a setting or an addon's word the same. `Help <keys>`: the builtins under SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second Help replaces its text."}, {"name": "History", "leader": "SPC f h", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. A click on the Restore (an exec, or a Look at the line) is that Restore."}, {"name": "Hover", "leader": "SPC l k", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Ask the language server about the symbol under the cursor.", "text": "Ask the language server about the symbol under the cursor."}, @@ -57,27 +57,27 @@ {"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."}, {"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": "LocationsConfig", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Set how location rows are drawn, or show how they are when bare.", "text": "Set how location rows are drawn, or show how they are when bare."}, - {"name": "Look", "leader": null, "also": ["enter", "right-click"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Look at its argument: open the file or address it names, else find the word, as a right click does.", "text": "Look at its argument: open the file or address it names, else find the word, as a right click does."}, - {"name": "LookNext", "leader": "SPC j n", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the next Look location across panes; Enter opens it.", "text": "Select the next Look location across panes; Enter opens it."}, - {"name": "LookPrev", "leader": "SPC j p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the previous Look location across panes; Enter opens it.", "text": "Select the previous Look location across panes; Enter opens it."}, + {"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."}, + {"name": "LookPrev", "leader": "SPC j p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the previous thing a Look would open, as LookNext walks forward.", "text": "Select the previous thing a Look would open, as LookNext walks forward.\nEnter opens what it selected."}, {"name": "Lspinfo", "leader": "SPC l i", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show which language servers serve this file and their state.", "text": "Show which language servers serve this file and their state."}, {"name": "Lspwhy", "leader": "SPC l w", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Explain how the last language server request was answered, step by step.", "text": "Explain how the last language server request was answered, step by step."}, {"name": "MessageLinger", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "How long, in milliseconds, a message stays after what dismisses it.", "text": "How long, in milliseconds, a message stays after what dismisses it."}, {"name": "Messages", "leader": "SPC h m", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the messages shown so far.", "text": "Open the messages shown so far."}, {"name": "Mini", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Open a minimap of the file in braille dots.", "text": "Open a minimap of the file in braille dots."}, {"name": "Mode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Cycle the pane's input modes: terminals add raw tty mode to normal/insert.", "text": "Cycle the pane's input modes: terminals add raw tty mode to normal/insert."}, - {"name": "More", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "A query pane's Grep stopped at its 2000 lines goes on for 2000 more.", "text": "A query pane's Grep stopped at its 2000 lines goes on for 2000 more."}, + {"name": "More", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more.", "text": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more."}, {"name": "Mount", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Mount another pardes's 9P tree under /n/<name>, given its dial address.", "text": "Mount another pardes's 9P tree under /n/<name>, given its dial address."}, {"name": "Msg", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show its argument on this pane's message row.", "text": "Show its argument on this pane's message row."}, {"name": "New", "leader": "SPC f n", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Open an empty scratch pane, <dir>/+New, in this pane's directory.", "text": "Open an empty scratch pane, <dir>/+New, in this pane's directory."}, {"name": "Newcol", "leader": "SPC c n", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "An empty column right of the keyboard's, its tag taking the keyboard.", "text": "An empty column right of the keyboard's, its tag taking the keyboard."}, {"name": "NextColor", "leader": "SPC t n", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Switch to the next bundled theme.", "text": "Switch to the next bundled theme."}, {"name": "Palette", "leader": "SPC t l", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "the C64 palette or the terminal's own 16", "text": "the C64 palette or the terminal's own 16"}, - {"name": "Panes", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Pick an open pane by its name in a query pane under this one (SPC b b).", "text": "Pick an open pane by its name in a query pane under this one (SPC b b)."}, + {"name": "Panes", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Pick a pane by its name, in a query pane under this one.", "text": "Pick a pane by its name, in a query pane under this one.\nThe open panes, then those closed this session, `(closed)`: Enter on one goes to it, or brings a closed one back where it was, its text with it. `Panes <name>` narrows them; `SPC b b` opens the same query."}, {"name": "Petscii", "leader": "SPC t p", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw an image pane's picture, or a terminal's kitty graphics, as glyph art.", "text": "Draw an image pane's picture, or a terminal's kitty graphics, as glyph art.\n`Petscii on` or `Petscii off` sets it; bare, it flips. A terminal's kitty graphics are the pictures its program placed (yazi's previews)."}, {"name": "Plumb", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Open the plumbing file, the plumber's rules, in the configuration directory beside `init`.", "text": "Open the plumbing file, the plumber's rules, in the configuration directory beside `init`.\nSaved, they are the rules in force (plumb(6)'s rule sets). Not there yet, it holds `include basic`, the default rules."}, {"name": "Putall", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Save every pane holding unsaved edits to a file, each as its own Save.", "text": "Save every pane holding unsaved edits to a file, each as its own Save.\nOne that is refused (changed on disk since, a write that fails) says so, and the rest are saved all the same."}, - {"name": "Recent", "leader": "SPC f r", "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "List the files opened lately, closed ones too, each a place to open again.", "text": "List the files opened lately, closed ones too, each a place to open again."}, + {"name": "Recent", "leader": "SPC f r", "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "List the files opened lately, closed ones too, in a query pane under this one.", "text": "List the files opened lately, closed ones too, in a query pane under this one.\n`Recent <name>` narrows them by name; bare (`SPC f r`), typed into. Enter opens the current one; B3 on a row, that one."}, {"name": "Redo", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Redo the last undone edit.", "text": "Redo the last undone edit."}, {"name": "Refs", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the references to the symbol under the cursor.", "text": "List the references to the symbol under the cursor.\nWith an argument (a 2-1 chord's selection), to that symbol, where it is nearest."}, {"name": "Rename", "leader": "SPC l r", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Rename the symbol under the cursor everywhere, to its argument.", "text": "Rename the symbol under the cursor everywhere, to its argument."}, @@ -85,7 +85,7 @@ {"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; `Restore <file>`: a dump file's. Bare: the last one this session made, else the newest. Refused once while a pane holds unsaved text, as Exit is."}, {"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."}, - {"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.\nAny of the query pane's words (`Search Panes`, `Search Symbols lay`, `Search All needle`, `Search /re`); bare, `/`."}, + {"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."}, {"name": "SelectRefs", "leader": "SPC l h", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select every reference to the symbol under the cursor.", "text": "Select every reference to the symbol under the cursor."}, {"name": "Shell", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "The shell new terminals run; bare, $SHELL if it is executable, else /bin/sh.", "text": "The shell new terminals run; bare, $SHELL if it is executable, else /bin/sh."}, {"name": "Subtypes", "leader": "SPC l T", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the subtypes of the type under the cursor.", "text": "List the subtypes of the type under the cursor."}, |
