diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 19:14:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 20:00:43 -0300 |
| commit | b22fa2638bca470bbd8c5ea4768eb0eaaa3e8195 (patch) | |
| tree | 08d0cc564bfe03861313f0acbf14f91f8dc94cc7 /test/snapshots/builtins.golden | |
| parent | 2ddd5bcbe8d470c00b045af5822418fe429357bc (diff) | |
| download | pardes-b22fa2638bca470bbd8c5ea4768eb0eaaa3e8195.tar.gz pardes-b22fa2638bca470bbd8c5ea4768eb0eaaa3e8195.zip | |
Build: a word that prints this build into a +Build pane (SPC h b): the version line, the commit, the jj change and the build time (stamped as the commit is: release builds and the ~/.local install, else "not stamped"), the zig that built it, its mode, target, platform and grammars, whether the addons are compiled in, the wire's semantics hash and the dependencies; build.zig stamps the change (jj log -r git_head()) and the time (date -u) through one command helper beside gitCommit; a T1 case reads the pane
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/builtins.golden')
| -rw-r--r-- | test/snapshots/builtins.golden | 113 |
1 files changed, 57 insertions, 56 deletions
diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index 95fa5f33..fd60bc74 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -19,60 +19,61 @@ |15: 6 == snap docs-group grid=120x67 cursor=7,10 |10: 1 pardes builtins under SPC h -|12: 3 SPC h c Changelog topbar -|13: 4 SPC h m Messages -|14: 5 SPC h t Tutor topbar -== snap tutor-from-index grid=120x67 cursor=7,16 +|12: 3 SPC h b Build +|13: 4 SPC h c Changelog topbar +|14: 5 SPC h m Messages +|15: 6 SPC h t Tutor topbar +|16: 7 +== snap tutor-from-index grid=120x67 cursor=7,17 |10: 1 pardes builtins under SPC h Tutor -|15: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Del -|16: 1 -|17: 2 PARDES TUTOR -|18: 3 -|19: 4 This pane is +Tutor, a copy: edit it freely; there is no need to -|20: 5 Save it (a bare Save asks for a path to write a copy to). -|21: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses -|22: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a -|23: 8 fresh copy. -|24: 9 -|25: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. -|26: 11 Each lesson is a few things to do, then names its guide section. -|27: 12 Words in backticks, like `Save`, are builtins. -|28: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a -|29: 14 shell line; `Look` (B3) opens what the text names, or else finds -|30: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with -|31: 16 "| " are tags. -|32: 17 -|33: 18 Press j until you reach part 1. -|34: 19 -|35: 20 -|36: 21 ================================================================= -|37: 22 = PART 1 — MODES = -|38: 23 ================================================================= -|39: 24 -|40: 25 1. The box left of this pane's tag is blank, so you are in -|41: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then -|42: 27 Esc: blank again. -|43: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the -|44: 29 pane you were in before (not what helix does). Come back with -|45: 30 Esc again. -|46: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types -|47: 32 ls at its first prompt. Press Ctrl-b: its box shows $ (RAW), and -|48: 33 keys go to the shell. Esc brings you back here; the terminal stays -|49: 34 $. Shift-Esc sends the shell an Esc. -|50: 35 -|51: 36 -> Guide: Modes -|52: 37 -|53: 38 -|54: 39 ================================================================= -|55: 40 = PART 2 — THE MOUSE = -|56: 41 ================================================================= -|57: 42 -|58: 43 1. `Look` (B3) the word mouse in this sentence: the next mouse is -|59: 44 selected. -|60: 45 2. `Exec` (B2) the word `Help` here: the list of keys opens. -|61: 46 Close it with `Del` in its tag. -|62: 47 3. Select a word with B1, keep B1 down, click B2: it is cut. Still -|63: 48 holding B1, click B3: it comes back. That pair is a copy. -|64: 49 4. Put the cursor on `Help` and press Tab: `Exec`, as B2. Enter -|65: 50 is `Look`, as B3. -|66: 51 +|16: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Del +|17: 1 +|18: 2 PARDES TUTOR +|19: 3 +|20: 4 This pane is +Tutor, a copy: edit it freely; there is no need to +|21: 5 Save it (a bare Save asks for a path to write a copy to). +|22: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses +|23: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a +|24: 8 fresh copy. +|25: 9 +|26: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part. +|27: 11 Each lesson is a few things to do, then names its guide section. +|28: 12 Words in backticks, like `Save`, are builtins. +|29: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a +|30: 14 shell line; `Look` (B3) opens what the text names, or else finds +|31: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with +|32: 16 "| " are tags. +|33: 17 +|34: 18 Press j until you reach part 1. +|35: 19 +|36: 20 +|37: 21 ================================================================= +|38: 22 = PART 1 — MODES = +|39: 23 ================================================================= +|40: 24 +|41: 25 1. The box left of this pane's tag is blank, so you are in +|42: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then +|43: 27 Esc: blank again. +|44: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the +|45: 29 pane you were in before (not what helix does). Come back with +|46: 30 Esc again. +|47: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types +|48: 32 ls at its first prompt. Press Ctrl-b: its box shows $ (RAW), and +|49: 33 keys go to the shell. Esc brings you back here; the terminal stays +|50: 34 $. Shift-Esc sends the shell an Esc. +|51: 35 +|52: 36 -> Guide: Modes +|53: 37 +|54: 38 +|55: 39 ================================================================= +|56: 40 = PART 2 — THE MOUSE = +|57: 41 ================================================================= +|58: 42 +|59: 43 1. `Look` (B3) the word mouse in this sentence: the next mouse is +|60: 44 selected. +|61: 45 2. `Exec` (B2) the word `Help` here: the list of keys opens. +|62: 46 Close it with `Del` in its tag. +|63: 47 3. Select a word with B1, keep B1 down, click B2: it is cut. Still +|64: 48 holding B1, click B3: it comes back. That pair is a copy. +|65: 49 4. Put the cursor on `Help` and press Tab: `Exec`, as B2. Enter +|66: 50 is `Look`, as B3. |
