diff options
Diffstat (limited to 'docs/typ/guide.typ')
| -rw-r--r-- | docs/typ/guide.typ | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index 66d3bb00..6d14c97c 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -103,13 +103,18 @@ the registers. #key("SPC y") and #key("SPC p") use the system clipboard. = Tags <tags> -#tag("Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Fonts Config History Debug Exit") -#tag("New Term Find Grep Joincol Delcol") -#tag("Save Term Collapse Follow Del", path: "/home/me/notes.txt") +#tag("Find Grep Newcol Help Exit") +#tag("New Term Joincol Delcol") +#tag("Save Undo Del", path: "/home/me/notes.txt") -A tag is text with undo. Type `make` into one and #word("Exec") it, or -delete the words you never use. Any word runs from any tag: #word("Exit") -in a pane's tag quits too. +A tag is text with undo. Its first words are the ones that act now, made +again as the pane changes: #word("Save") and #word("Undo") come with an +edit, #word("Keep") while a file reads. What you type goes after them and +stays: type `make` into one and #word("Exec") it. Any word runs from any +tag: #word("Exit") in a pane's tag quits too. The words a tag does not +show run from `:`, listed for this pane, and typed anywhere. With one +column its #word("New") #word("Term") sit at the window row's left; a +second column brings a row of column tags. #pairs( [#key(":")], [the keyboard to the tag, on #word("Save") the first time; #key("Tab") runs it, #key(":") comes back], @@ -136,7 +141,7 @@ A file's text and tag run in its directory: `make` from `README` at the project root is right, from `src/main.c` it is not. The keyboard stays where it was. The command pane's tag ends in `running`, then `exit N`: -#tag("Kill Save Collapse Del", path: "/home/me/src (make) exit 0") +#tag("Del", path: "/home/me/src (make) exit 0") Click into the command pane: #key("n") selects the next `file:line`, #key("Enter") opens it, and #key("n") from there goes on to the next error. @@ -207,7 +212,7 @@ Line 1's first word names what it searches, and editing the word changes it: [`Grep text`], [the lines of those files holding `text`, literally (#key("SPC f g"), #word("Grep")); past 2000 lines #word("More") goes on], [`Recent name`], [the files opened lately, in any window (#key("SPC f r"), #word("Recent"))], [`Panes name`], [the open panes, then the ones closed this session, `(closed)` and dimmer: #key("Enter") (or a #word("Look") at its `@pN`) brings one back where it was, its text with it (#key("SPC b b"), #word("Panes"))], - [`Symbols name`], [the text's declarations (#key("SPC s s"))], + [`Symbols name`], [the text's symbols, a row each: its kind's mark (`t` type, `f` function, `m` field, `c` const, `v` var, `n` module, `ยท` other), its name in the ones it is in (`Counts.lines`), what its line says after the name; types, functions, fields, then the rest, each in the text's order, and so while typed, the best match current (#key("SPC s s"))], [`All pat`], [every open pane's text, its rows under each pane (#key("SPC /"))], [`Refs`, `Def`, `Impl`, `Diagnostics`], [the language server's lists (#key("g r"), #key("g d"), #key("g i"), #key("SPC l d")): one answer is a jump, none a message; several open the list with the keyboard on its current row in normal mode (#keys("j", "k", "n", "N") step it, #key("Enter") lands, #key("Esc") goes back), the diagnostics' keeping it in the text for `]d`; their places in the text tinted as a `/`'s are], ) @@ -242,7 +247,7 @@ do nothing. = Terminals <terminals> -#tag("Term+bash Save Mode Filter Collapse Del", path: "/home/me/src") +#tag("Del Term+bash", path: "/home/me/src") - #word("Term") opens a terminal in the pane's directory, #key("Alt-n") one in the session's directory; #word("Term+bash") picks the shell. |
