diff options
Diffstat (limited to 'test/snapshots/leader.golden')
| -rw-r--r-- | test/snapshots/leader.golden | 194 |
1 files changed, 121 insertions, 73 deletions
diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index d8e57385..1bd0bb41 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -13,41 +13,42 @@ |6: 1 pardes builtins under SPC h |7: 2 |8: 3 SPC h b Build -|9: 4 SPC h c Changelog topbar -|10: 5 SPC h m Messages -|11: 6 SPC h t Tutor topbar -|12: ~ -== snap tutor grid=100x41 cursor=7,13 +|9: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|10: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|11: its platform, its grammars, and whether the addons are compiled in. +|12: 6 +|13: 7 SPC h c Changelog topbar +|14: 8 Show this build's version and what changed to reach it, in a +Changelog. +|15: 9 +|16: 10 SPC h m Messages +|17: 11 Show the messages said so far in a +Messages. +|18: 12 +|19: 13 SPC h t Tutor topbar +|20: 14 Open the tutor, a document to work through. +|21: 15 +|22: ~ +== snap tutor grid=100x41 cursor=7,22 |6: 1 pardes builtins under SPC h Tutor -|12: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del -|13: 1 -|14: 2 PARDES TUTOR -|15: 3 -|16: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|17: 5 Save it (a bare Save asks for a path to write a copy to). -|18: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|19: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|20: 8 fresh copy. -|21: 9 -|22: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|23: 11 Each lesson is a few things to do, then names its guide section. -|24: 12 Words in backticks, like `Save`, are builtins. -|25: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|26: 14 shell line; `Look` (B3) opens what the text names, or else finds -|27: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|28: 16 "| " are tags. -|29: 17 -|30: 18 Press j until you reach part 1. -|31: 19 -|32: 20 -|33: 21 ================================================================= -|34: 22 = PART 1 — MODES = -|35: 23 ================================================================= -|36: 24 -|37: 25 1. The box left of this pane's tag is blank, so you are in -|38: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then -|39: 27 Esc: blank again. -|40: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the +|21: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del +|22: 1 +|23: 2 PARDES TUTOR +|24: 3 +|25: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|26: 5 Save it (a bare Save asks for a path to write a copy to). +|27: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|28: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|29: 8 fresh copy. +|30: 9 +|31: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|32: 11 Each lesson is a few things to do, then names its guide section. +|33: 12 Words in backticks, like `Save`, are builtins. +|34: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|35: 14 shell line; `Look` (B3) opens what the text names, or else finds +|36: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|37: 16 "| " are tags. +|38: 17 +|39: 18 Press j until you reach part 1. +|40: 19 == snap deleted grid=100x41 cursor=7,3 |5: |6: @@ -69,31 +70,52 @@ |22: |23: |24: -|25: -|26: -|27: -|28: -|29: -|30: -|31: -|32: -|33: -|34: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del -|35: 1 pardes builtins under SPC h -|36: 2 -|37: 3 SPC h b Build -|38: 4 SPC h c Changelog topbar -|39: 5 SPC h m Messages -|40: 6 SPC h t Tutor topbar +|25: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del +|26: 1 pardes builtins under SPC h +|27: 2 +|28: 3 SPC h b Build +|29: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|30: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too,↩ +|31: its platform, its grammars, and whether the addons are compiled in. +|32: 6 +|33: 7 SPC h c Changelog topbar +|34: 8 Show this build's version and what changed to reach it, in a +Changelog. +|35: 9 +|36: 10 SPC h m Messages +|37: 11 Show the messages said so far in a +Messages. +|38: 12 +|39: 13 SPC h t Tutor topbar +|40: 14 Open the tutor, a document to work through. == snap help-column grid=100x41 cursor=7,6 |5: /tmp/pardes-snap/leader/cwd/+Help Save Term Collapse Follow Del |6: 1 pardes builtins under SPC c |7: 2 |8: 3 SPC c d Delcol -|9: 4 SPC c f Follow -|10: 5 SPC c j Joincol topbar -|11: 6 SPC c n Newcol topbar -|12: ~ +|9: 4 Close this column and its panes. +|10: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in i↩ +|11: t holds unsaved text, the notice saying how many; Delcol again, nothing edited since, closes↩ +|12: them. +|13: 6 +|14: 7 SPC c f Follow +|15: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. +|16: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page↩ +|17: , a Zerox of the text, at the end of the column right of the chain's last, or in a new colum↩ +|18: n there; its tag has Unfollow. +|19: 10 +|20: 11 SPC c j Joincol topbar +|21: 12 Fold the keyboard's column into the one on its right, keeping its panes. +|22: 13 Refused for the last column, and where the joined column could not give each pane its tag an↩ +|23: d 2 rows. +|24: 14 +|25: 15 SPC c n Newcol topbar +|26: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. +|27: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. +|28: 18 +|29: ~ +|30: +|31: +|32: +|33: |34: |35: |36: @@ -104,25 +126,38 @@ == snap help-language grid=100x41 cursor=7,6 |6: 1 pardes builtins under SPC l |8: 3 SPC l C Callees -|9: 4 SPC l D WsDiagnostics -|10: 5 SPC l S WsSymbols -|11: 6 SPC l T Subtypes -|12: 7 SPC l a CodeAction -|13: 8 SPC l b Callstack -|14: 9 SPC l c Callers -|15: 10 SPC l d Diagnostics -|16: 11 SPC l h SelectRefs -|17: 12 SPC l i Lspinfo -|18: 13 SPC l k Hover -|19: 14 SPC l r Rename -|20: 15 SPC l s Symbols -|21: 16 SPC l t Supertypes -|22: 17 SPC l w Lspwhy -|23: 18 -|24: 19 Callstack: static caller chains, -|25: 20 with signatures and clickable call sites. -|26: 21 Callers / Callees: one direction at a time. -|27: ~ +|9: 4 List the functions the one under the cursor calls, one level down; a single one is a jump. +|10: 5 +|11: 6 SPC l D WsDiagnostics +|12: 7 List the diagnostics of the whole workspace in a +Search. +|13: 8 +|14: 9 SPC l S WsSymbols +|15: 10 Search the workspace's symbols for its argument, in a +Search; bare, it asks for the name. +|16: 11 +|17: 12 SPC l T Subtypes +|18: 13 List the subtypes of the type under the cursor in a +Search; a single one is a jump. +|19: 14 +|20: 15 SPC l a CodeAction +|21: 16 List the language server's code actions for the cursor, in a +Lsp. +|22: 17 +|23: 18 SPC l b Callstack +|24: 19 Show the callers of the function under the cursor as a tree, outermost first, in a +Callstac↩ +|25: k. +|26: 20 Each caller with its place to open and its signature, the line of each call under it; caller↩ +|27: s named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many level↩ +|28: s (8 by default); a deeper tree says where to go on from. `g c` does the same. +|29: 21 +|30: 22 SPC l c Callers +|31: 23 List the functions that call the one under the cursor, one level up; a single one is a jump. +|32: 24 +|33: 25 SPC l d Diagnostics +|34: 26 List this file's diagnostics in a +Search. +|35: 27 `] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first. +|36: 28 +|37: 29 SPC l h SelectRefs +|38: 30 Select every reference to the symbol under the cursor. +|39: 31 +|40: 32 SPC l i Lspinfo == snap del-output grid=100x41 cursor=7,3 |5: |6: @@ -147,3 +182,16 @@ |25: |26: |27: +|28: +|29: +|30: +|31: +|32: +|33: +|34: +|35: +|36: +|37: +|38: +|39: +|40: |
