diff options
Diffstat (limited to 'test/snapshots/builtins.golden')
| -rw-r--r-- | test/snapshots/builtins.golden | 167 |
1 files changed, 84 insertions, 83 deletions
diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index d707f1e3..357acd11 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -1,6 +1,5 @@ -== snap boot grid=120x67 cursor=7,3 -| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit -| New Term Find Grep Joincol Delcol +== snap boot grid=120x67 cursor=7,2 +| New Term Find Grep Newcol Help Exit | /tmp/pardes-snap/builtins/cwd/notes.txt Keep Del | 1 Help c Help h | 2 line 2 @@ -65,87 +64,89 @@ | | | +| | /tmp/pardes-snap/builtins/cwd/notes.txt:1 -== snap column-group grid=120x67 cursor=7,10 -|9: /^ +Look / –/0 › /tmp/pardes-snap/builtins/cwd/+Help Del -|10: 1 pardes builtins under SPC c -|11: 2 -|12: 3 SPC c d Delcol -|13: 4 Close this column and its panes. -|14: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in it holds unsaved text↩ -|15: , the notice saying how many; Delcol again, nothing edited since, closes them. -|16: 6 -|17: 7 SPC c f Follow -|18: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. -|19: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the tex↩ -|20: t, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow. -|21: 10 -|22: 11 SPC c j Joincol topbar -|23: 12 Fold the keyboard's column into the one on its right, keeping its panes. -|24: 13 Refused for the last column, and where the joined column could not give each pane its tag and 2 rows. -|25: 14 -|26: 15 SPC c n Newcol topbar -|27: 16 Make an empty column right of the keyboard's, its tag taking the keyboard. -|28: 17 The next pane made from there goes in it. Refused, saying why, when no column fits. -|29: 18 -|30: ~ +== snap column-group grid=120x67 cursor=7,9 +|8: /^ +Look / –/0 › /tmp/pardes-snap/builtins/cwd/+Help Del +|9: 1 pardes builtins under SPC c +|10: 2 +|11: 3 SPC c d Delcol +|12: 4 Close this column and its panes. +|13: 5 The column is the one whose tag it ran from, else the pane's. Refused once while a pane in it holds unsaved text↩ +|14: , the notice saying how many; Delcol again, nothing edited since, closes them. +|15: 6 +|16: 7 SPC c f Follow +|17: 8 Show one text across a chain of panes as consecutive pages, scrolled as one. +|18: 9 As Emacs's follow-mode: each page goes on where the one before ends. Each Follow adds a page, a Zerox of the tex↩ +|19: t, at the end of the column right of the chain's last, or in a new column there; its tag has Unfollow. +|20: 10 +|21: 11 SPC c j Joincol +|22: 12 Fold the keyboard's column into the one on its right, keeping its panes. +|23: 13 Refused for the last column, and where the joined column could not give each pane its tag and 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: ~ |66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 3 messages · SPC h m -== snap docs-group grid=120x67 cursor=7,10 -|10: 1 pardes builtins under SPC h -|12: 3 SPC h b Build -|13: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. -|14: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too, its platform, its g↩ -|15: rammars, and whether the addons are compiled in. -|17: 7 SPC h c Changelog topbar -|18: 8 Show this build's version and what changed to reach it, in a +Changelog. -|19: 9 -|20: 10 SPC h k Keys -|21: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. -|22: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls its level under the ↩ -|23: tag with the leaf on the cursor and its documentation beside it, and Enter runs it. Every root answers: SPC, g, ↩ -|24: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it. -|25: 13 -|26: 14 SPC h m Messages -|27: 15 Show the messages said so far, the newest first, an error's places under it. -|28: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), C-q keeps it as a +M↩ -|29: essages; else the +Messages. -|30: 17 -|31: 18 SPC h t Tutor topbar -|32: 19 Open the tutor, a document to work through. -|33: 20 -|34: ~ +== snap docs-group grid=120x67 cursor=7,9 +|9: 1 pardes builtins under SPC h +|11: 3 SPC h b Build +|12: 4 Show this build in a +Build: its version, compiler, optimize mode, target and dependencies. +|13: 5 A stamped build's (a release, or the ~/.local install) commit, jj change and build time too, its platform, its g↩ +|14: rammars, and whether the addons are compiled in. +|16: 7 SPC h c Changelog +|17: 8 Show this build's version and what changed to reach it, in a +Changelog. +|18: 9 +|19: 10 SPC h k Keys +|20: 11 Show what a key sequence runs: the next keys typed are replayed in the tag. +|21: 12 The tag shows `Keys` and the keys as they are typed; a sequence that reaches a leaf unrolls its level under the ↩ +|22: tag with the leaf on the cursor and its documentation beside it, and Enter runs it. Every root answers: SPC, g, ↩ +|23: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it. +|24: 13 +|25: 14 SPC h m Messages +|26: 15 Show the messages said so far, the newest first, an error's places under it. +|27: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), C-q keeps it as a +M↩ +|28: essages; else the +Messages. +|29: 17 +|30: 18 SPC h t Tutor +|31: 19 Open the tutor, a document to work through. +|32: 20 +|33: ~ |66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 5 messages · SPC h m -== snap tutor-from-index grid=120x67 cursor=7,35 -|34: /tmp/pardes-snap/builtins/cwd/+Tutor Keep Del -|35: 1 -|36: 2 PARDES TUTOR -|37: 3 -|38: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|39: 5 Save it (a bare Save asks for a path to write a copy to). -|40: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|41: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|42: 8 fresh copy. -|43: 9 -|44: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|45: 11 Each lesson is a few things to do, then names its guide section. -|46: 12 Words in backticks, like `Save`, are builtins. -|47: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|48: 14 shell line; `Look` (B3) opens what the text names, or else finds -|49: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|50: 16 "| " are tags. -|51: 17 -|52: 18 Press j until you reach part 1. -|53: 19 -|54: 20 -|55: 21 ================================================================= -|56: 22 = PART 1 — MODES = -|57: 23 ================================================================= -|58: 24 -|59: 25 1. The box left of this pane's tag is blank, so you are in -|60: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then -|61: 27 Esc: blank again. -|62: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the -|63: 29 pane you were in before (not what helix does). Come back with -|64: 30 Esc again. -|65: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types +== snap tutor-from-index grid=120x67 cursor=7,34 +|33: /tmp/pardes-snap/builtins/cwd/+Tutor Keep Del +|34: 1 +|35: 2 PARDES TUTOR +|36: 3 +|37: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|38: 5 Save it (a bare Save asks for a path to write a copy to). +|39: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|40: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|41: 8 fresh copy. +|42: 9 +|43: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|44: 11 Each lesson is a few things to do, then names its guide section. +|45: 12 Words in backticks, like `Save`, are builtins. +|46: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|47: 14 shell line; `Look` (B3) opens what the text names, or else finds +|48: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|49: 16 "| " are tags. +|50: 17 +|51: 18 Press j until you reach part 1. +|52: 19 +|53: 20 +|54: 21 ================================================================= +|55: 22 = PART 1 — MODES = +|56: 23 ================================================================= +|57: 24 +|58: 25 1. The box left of this pane's tag is blank, so you are in +|59: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then +|60: 27 Esc: blank again. +|61: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the +|62: 29 pane you were in before (not what helix does). Come back with +|63: 30 Esc again. +|64: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types +|65: 32 ls at its first prompt. Press Ctrl-b: its box shows $ (RAW), and |66: ✓ /tmp/pardes-snap/builtins/cwd/+Help Tutor 7 messages · SPC h m |
