Debian Codegraph @

doc/aerc-tutorial.7.scd

raw
1 AERC-TUTORIAL(7)
2
3 # NAME
4
5 aerc-tutorial - tutorial for *aerc*(1)
6
7 # INTRODUCTION
8
9 Welcome to aerc! This tutorial will guide you through your first steps in using
10 the client. This tutorial is a man page - you can read it again later with
11 *:help* _tutorial_ from aerc, or *man aerc-tutorial* from your terminal.
12
13 First, let's introduce some basic keybindings. For convention, we'll use *<C-p>*
14 to represent _Ctrl+p_, which matches the convention used for writing keybindings
15 for aerc.
16
17 *<C-p>*, *<C-n>*
18 Cycles to the previous or next tab
19
20 Try using these now to switch between your message list and the tutorial. In
21 your message list, we use vim-style keys to get around.
22
23 *k*, *j*
24 Scrolls up and down between messages
25
26 *<C-u>*, *<C-d>*
27 Scrolls half a page up or down
28
29 *g*, *G*
30 Selects the first or last message, respectively
31
32 *K*, *J*
33 Switches between folders in the sidebar
34
35 *<Enter>*
36 Opens the selected message
37
38 You can also search the selected folder with */*, or filter with *\\ *. When
39 searching you can use *n* and *N* to jump to the next and previous result.
40 Filtering hides any non-matching message.
41
42 # THE MESSAGE VIEWER
43
44 Press *<Enter>* to open a message. By default, the message viewer will display
45 your message using *less*(1). This should also have familiar, vim-like
46 keybindings for scrolling around in your message.
47
48 Multipart messages (messages with attachments, or messages with several
49 alternative formats) show a part selector on the bottom of the message viewer.
50
51 *<C-k>*, *<C-j>*
52 Cycle between parts of a multipart message
53
54 *q*
55 Close the message viewer
56
57 To show HTML messages parts, the _text/html_ filter in your _aerc.conf_ file
58 (which is probably in _~/.config/aerc/_) requires *w3m* along with optional
59 dependencies for safer network isolation: *unshare* (from *util-linux*) or
60 *socksify* (from *dante-utils*).
61
62 You can also do many tasks you could do in the message list from here, like
63 replying to emails, deleting the email, or view the next and previous message
64 (*J* and *K*).
65
66 # COMPOSING MESSAGES
67
68 Return to the message list by pressing *q* to dismiss the message viewer. Once
69 there, let's compose a message.
70
71 *C*
72 Compose a new message
73
74 *rr*
75 Reply-all to a message
76
77 *rq*
78 Reply-all to a message, and pre-fill the editor with a quoted version of the
79 message being replied to
80
81 *Rr*
82 Reply to a message
83
84 *Rq*
85 Reply to a message, and pre-fill the editor with a quoted version of the
86 message being replied to
87
88 For now, let's use *C* to compose a new message. The message composer
89 will appear. You should see To, From, and Subject lines, as well
90 as your editor. You can use *<Tab>* or *<C-j>* and *<C-k>* to cycle
91 between these fields (tab won't cycle between fields once you enter
92 the editor, but *<C-j>* and *<C-k>* will).
93
94 Let's send an email to yourself. Note that the To and From headers expect RFC
95 5322 addresses, e.g. *John Doe <[email protected]>*, or simply
96 *<[email protected]>*. Separate multiple recipients with commas. Go ahead and
97 fill out an email, then close the editor.
98
99 The message review screen is shown next. You have a chance now to revise the
100 email before it's sent. Press *y* to send the email if it looks good.
101
102 *Note*: when using the terminal in the message view, you can summon aerc's ex
103 command line by using *<C-x>*. *:* is sent to the editor.
104
105 # USING THE TERMINAL
106
107 aerc comes with an embedded terminal, which you've already used to view and edit
108 emails. We can also use this for other purposes, such as referencing a git
109 repository while reviewing a patch. From the message list, we can use the
110 following keybindings to open a terminal:
111
112 *<C-t>*
113 Opens a new terminal tab, running your shell
114
115 *$*, *!*
116 Prompts for a command to run, then opens a new terminal tab running that
117 command
118
119 *|*
120 Prompts for a command to run, then pipes the selected email into that
121 command and displays the result on a new terminal tab
122
123 Try pressing *$* and entering _top_. You can also use the *:cd* command to
124 change aerc's working directory, and the directory in which new terminals run.
125 Use *:pwd* to see it again if you're not sure where you are.
126
127 # ADDITIONAL NOTES
128
129 ## COMMANDS
130
131 Every keybinding is ultimately bound to an aerc command. You can also summon the
132 command line by pressing *:*, then entering one of these commands. See *aerc*(1)
133 or *:help* for a full list of commands.
134
135 ## MESSAGE FILTERS
136
137 When displaying messages in the message viewer, aerc will pipe them through a
138 message filter first. This allows you to decode messages in non-plaintext
139 formats, add syntax highlighting, etc. aerc ships with a few default filters:
140
141 - _text/plain_ parts are piped through the _colorize_ built-in filter which
142 handles URL, quotes and diff coloring.
143 - _text/calendar_ is processed to be human readable text
144 - _text/html_ (disabled by default) can be uncommented to pipe through the
145 built-in _html_ filter.
146
147 ## CUSTOMIZING AERC
148
149 Aerc is highly customizable. Review *aerc-config*(5) (or use *:help config*) to
150 learn more about how to add custom keybindings, install new message filters,
151 change its appearance and behavior, and so on.
152
153 # AUTHORS
154
155 Originally created by Drew DeVault and maintained by Robin Jarry who is assisted
156 by other open source contributors. For more information about aerc development,
157 see _https://sr.ht/~rjarry/aerc/_.