summaryrefslogtreecommitdiff
path: root/test/snapshots/builtins.golden
blob: 87a515aad622a3368e54a79684c42f4097fbd71c (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
== snap boot grid=120x67 cursor=7,3
|Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
|   New Tty Find Grep Joincol Delcol
|   /tmp/pardes-snap/builtins/cwd/notes.txt Save Tty Collapse Del
|     1 line 1
|     2 line 2
|     3 line 3
|     4 line 4
|     5 line 5
|     6 line 6
|     7
== snap window-group grid=120x67 cursor=7,10
|9:    /tmp/pardes-snap/builtins/cwd/+Help Save Tty Collapse Del
|10:      1 pardes builtins under SPC w
|11:      2
|12:      3 SPC w h   Left                  C-w h, C-w left
|13:      4 SPC w j   Down                  C-w j, C-w down
|14:      5 SPC w k   Up                    C-w k, C-w up
|15:      6 SPC w l   Right                 C-w l, C-w right
|16:      7
== 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
|15:      6
|16:
== snap tutor-from-index grid=120x67 cursor=7,16
|10:      1 pardes builtins under SPC h                                                                                Tutor
|15:    /tmp/pardes-snap/builtins/cwd/+Tutor Save Tty 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. At its empty prompt, Esc brings you back
|49:     34     here; the terminal stays $.
|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