summaryrefslogtreecommitdiff
path: root/test/snapshots/builtins.golden
blob: 357acd11b56d25578ff5802f535567d8467fbff2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
== 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
|     3 line 3
|     4 line 4
|     5 line 5
|     6 line 6
|     ~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|  /tmp/pardes-snap/builtins/cwd/notes.txt:1
== 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,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,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