diff options
Diffstat (limited to 'docs/typ/guide.typ')
| -rw-r--r-- | docs/typ/guide.typ | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index 3a6e5bea..7144c249 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -3,9 +3,8 @@ // keys on the cheatsheet. #import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, glossary -pardes reads the text on its screen as things to do. Right-click (#btn("B3")) -any text to *look* at it: open the `file:line`, address or URL it names, or -else find the text. Middle-click (#btn("B2")) it to *execute* it: run the +pardes reads the text on its screen as things to do. Right-click any text to *look* at it: open the `file:line`, address or URL it names, or +else find the text. Middle-click it to *execute* it: run the builtin it names, or else run it as a shell line. Everything else is where that happens: columns of panes, each a tag (a line of words) over a body that is a file you edit, a terminal, a PDF or an image, with a tag for each @@ -64,14 +63,14 @@ you out of raw mode first. btn("B3"), [look: open the file, address, directory or URL, else find the word's next place.], ) -A #btn("B2") or #btn("B3") click with no drag takes the word under it: the +A middle- or right-click with no drag takes the word under it: the run of letters, digits and `. - + / : @ _ ~`, a trailing `:` dropped. So #btn("B3") on `src/bar.c:12:5:` in a compiler's error opens `src/bar.c` at line 12, column 5. Drag to say exactly what you mean. #key("Enter") and #key("Tab") in normal mode look and execute. -Hold #btn("B1") and click #btn("B2") to cut the selection, #btn("B3") to -paste over it, both one after the other to copy. #key("y") yanks and +Hold the left button and click the middle one to cut the selection, the +right one to paste over it, both one after the other to copy. #key("y") yanks and #key("p") pastes after (a line yanked with #key("x") #key("y") goes in as a new line below), through registers every pane shares; #key("SPC y") and #key("SPC p") use the system clipboard. @@ -116,7 +115,7 @@ tag (#word("Save"), #word("Del")) acts on that column's pane with the keyboard, or its first. Every other new pane goes into the *active column*: the column you last -typed or #btn("B1")-clicked in, or the one that got the last new pane. It +typed or left-clicked in, or the one that got the last new pane. It takes the keyboard, except a listing, which opens below the pane that asked and leaves it the keyboard, so #keys("n", "N") walk the listing. A look moves the keyboard but not the active column: #btn("B3") on a file @@ -153,7 +152,7 @@ pane is listed in `+Unsaved`. The same #word("Del") again discards it. way. A pane with nothing unsaved closes at once. From the keyboard (#key("SPC d")), #word("Del") between two panes also asks which takes its rows: #key("k") above, #key("j") below. To quit, press #key("SPC q") or -click #word("Exit") in the workspace tag with #btn("B2"); it refuses once +middle-click #word("Exit") in the workspace tag; it refuses once over unsaved panes too. = Terminals <terminals> |
