summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/typ/builtins-tui.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json
index 43140f77..12631603 100644
--- a/docs/typ/builtins-tui.json
+++ b/docs/typ/builtins-tui.json
@@ -1,6 +1,6 @@
[
{"name": "Addon", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Load, unload or reload an addon, a library that brings a kind of pane.", "text": "Load, unload or reload an addon, a library that brings a kind of pane.\n`Addon load <path>`, `Addon unload <name>`, `Addon reload <name>`; bare, the kinds here."},
- {"name": "Adopt", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Take in the shells of a session that died holding them, each as a terminal here.", "text": "Take in the shells of a session that died holding them, each as a terminal here.\nThe pardes daemon kept their terminals open."},
+ {"name": "Adopt", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Take in the shells of a session that died holding them, each as a terminal here.", "text": "Take in the shells of a session that died holding them, each as a terminal here.\nThe pardes daemon kept their terminals open; with none kept for this session, it says so."},
{"name": "Ascii", "leader": "SPC t a", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "add the printable ASCII bitmaps to the matcher's glyph set", "text": "add the printable ASCII bitmaps to the matcher's glyph set"},
{"name": "At", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show this file as it was at a jj revision, read-only, beside its pane.", "text": "Show this file as it was at a jj revision, read-only, beside its pane.\n`At <rev>` (`At main`, `At @-`) opens `path@rev`, as a Look at that name does. In such a pane, `At <rev>` turns it to that revision, the cursor's line kept, and bare `At` opens the file itself. What jj refuses is said in jj's words."},
{"name": "Back", "leader": "SPC j o", "also": ["C-o"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Ctrl-o: one step back into the history.", "text": "Ctrl-o: one step back into the history."},
@@ -31,13 +31,13 @@
{"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the file's diagnostics from the language server.", "text": "List the file's diagnostics from the language server."},
{"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.", "text": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.\nBare, on a diff (a .diff, a .patch, a +Pager holding one): its hunks stacked; on a +Diff: the diff itself, as text. `Diff <file>`: that .diff's or .patch's hunks. `Diff <hash>` (7 to 40 hex digits): `git show` of that commit, in its own `+Diff-<hash>`. `Diff <change> [path[:line]]` (a jj change id): its patch, its header and whole message on top, the cursor at that place. `Diff <from>..<to> [path[:line]]`: the difference between two points, the changes between them on top.\nEach hunk stands under its `path:line` and the declarations around it, a + or - before each line, the words a changed line changed tinted. `SPC j n` and `SPC j p` step through the hunks; B3 on a place opens it."},
{"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, or off a tag onto the pane under it.", "text": "Move the keyboard to the pane below, or off a tag onto the pane under it."},
- {"name": "Dump", "leader": "SPC s d", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead."},
+ {"name": "Dump", "leader": "SPC s d", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export <path>` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore <path>` word that brings them back."},
{"name": "DumpConfig", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the settings in effect, each a word to click, and the startup file's path.", "text": "Open the settings in effect, each a word to click, and the startup file's path."},
{"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": "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": "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. On the way out the session's panes are kept in the state file, for History and Restore."},
{"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 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."},
@@ -45,7 +45,7 @@
{"name": "Get", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.", "text": "Read this pane's file again from disk; refused once over unsaved edits, as Del is.\n`Get <file>` loads that file into the pane instead, the pane taking its name. In a directory's pane, it reads the directory again."},
{"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": "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, in a +History: each a `Restore <label>` line, its date, size and pane count, the panes' names indented under it. B2 on the Restore, or a Look at its 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."},
{"name": "InactiveDim", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off.", "text": "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off."},
{"name": "Incl", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).", "text": "Add directories where a Look tries a name it finds nowhere else (`stdio.h`, `<foo.h>`).\n`Incl <dir> ...` adds them, each absolute or from `~`; bare, it lists them; `Incl -` empties the list. The list is the session's."},
@@ -82,7 +82,7 @@
{"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."},
{"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.\nThe language is named as the syntax table has it (`py`, `Python`, `sh`). 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. `Repl python` binds (again, it is already); `Repl -` unbinds; bare, it says what it is bound as. With several bound for a language, the exec asks which.\nStill commands, whatever is bound: a word in a tag, `Exec <text>` run by name (typed, a 2-1 chord onto Exec, 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; `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": "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": "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."},
@@ -105,7 +105,7 @@
{"name": "Unfollow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Take this pane out of its Follow chain.", "text": "Take this pane out of its Follow chain.\nIt stays, a Zerox twin with the scroll it has, and the chain closes up behind it."},
{"name": "Unmount", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Unmount the 9P tree mounted under /n/<name>.", "text": "Unmount the 9P tree mounted under /n/<name>."},
{"name": "Up", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane above, and from a column's top pane to its tag.", "text": "Move the keyboard to the pane above, and from a column's top pane to its tag."},
- {"name": "Upgrade", "leader": "SPC s U", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Move this session onto the pardes installed since it started, in place.", "text": "Move this session onto the pardes installed since it started, in place.\nIts text, undo, views, terminals with their running shells, and its terminals and windows come along; the pardes daemon moves too."},
+ {"name": "Upgrade", "leader": "SPC s U", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Move this session onto the pardes installed since it started, in place.", "text": "Move this session onto the pardes installed since it started, in place.\nIts text, undo, views, terminals with their running shells, and its terminals and windows come along; the pardes daemon moves too. A pardes that cannot move to another build in place says so."},
{"name": "Verbose", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A builtin says its own name on the message row as it runs, on or off.", "text": "A builtin says its own name on the message row as it runs, on or off."},
{"name": "Window", "leader": "SPC w", "also": ["C-w"], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Window mode: move an outline between the panes and act on the one outlined.", "text": "Window mode: move an outline between the panes and act on the one outlined.\nh/j/k/l move the outline; Enter or Esc focuses the outlined pane, `:` its tag, the letter shown on a pane that one; d is Del on it (then k or j between two), c Collapse."},
{"name": "Wrap", "leader": "SPC t w", "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "Long lines wrap onto the next row, on or off.", "text": "Long lines wrap onto the next row, on or off."},