.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "AERC-TUTORIAL" "7" "2024-04-07" .PP .SH NAME .PP aerc-tutorial - tutorial for \fBaerc\fR(1) .PP .SH INTRODUCTION .PP Welcome to aerc!\& This tutorial will guide you through your first steps in using the client.\& This tutorial is a man page - you can read it again later with \fB:help\fR \fItutorial\fR from aerc, or \fBman aerc-tutorial\fR from your terminal.\& .PP First, let'\&s introduce some basic keybindings.\& For convention, we'\&ll use \fB\fR to represent \fICtrl+p\fR, which matches the convention used for writing keybindings for aerc.\& .PP \fB\fR, \fB\fR .RS 4 Cycles to the previous or next tab .PP .RE Try using these now to switch between your message list and the tutorial.\& In your message list, we use vim-style keys to get around.\& .PP \fBk\fR, \fBj\fR .RS 4 Scrolls up and down between messages .PP .RE \fB\fR, \fB\fR .RS 4 Scrolls half a page up or down .PP .RE \fBg\fR, \fBG\fR .RS 4 Selects the first or last message, respectively .PP .RE \fBK\fR, \fBJ\fR .RS 4 Switches between folders in the sidebar .PP .RE \fB\fR .RS 4 Opens the selected message .PP .RE You can also search the selected folder with \fB/\fR, or filter with \fB\e \fR.\& When searching you can use \fBn\fR and \fBp\fR to jump to the next and previous result.\& Filtering hides any non-matching message.\& .PP .SH THE MESSAGE VIEWER .PP Press \fB\fR to open a message.\& By default, the message viewer will display your message using \fBless\fR(1).\& This should also have familiar, vim-like keybindings for scrolling around in your message.\& .PP Multipart messages (messages with attachments, or messages with several alternative formats) show a part selector on the bottom of the message viewer.\& .PP \fB\fR, \fB\fR .RS 4 Cycle between parts of a multipart message .PP .RE \fBq\fR .RS 4 Close the message viewer .PP .RE To show HTML messages, uncomment the \fItext/html\fR filter in your \fIaerc.\&conf\fR file (which is probably in \fI~/.\&config/aerc/\fR) and install its dependencies: \fBw3m\fR and \fBdante-utils\fR.\& .PP You can also do many tasks you could do in the message list from here, like replying to emails, deleting the email, or view the next and previous message (\fBJ\fR and \fBK\fR).\& .PP .SH COMPOSING MESSAGES .PP Return to the message list by pressing \fBq\fR to dismiss the message viewer.\& Once there, let'\&s compose a message.\& .PP \fBC\fR .RS 4 Compose a new message .PP .RE \fBrr\fR .RS 4 Reply-all to a message .PP .RE \fBrq\fR .RS 4 Reply-all to a message, and pre-fill the editor with a quoted version of the message being replied to .PP .RE \fBRr\fR .RS 4 Reply to a message .PP .RE \fBRq\fR .RS 4 Reply to a message, and pre-fill the editor with a quoted version of the message being replied to .PP .RE For now, let'\&s use \fBC\fR to compose a new message.\& The message composer will appear.\& You should see To, From, and Subject lines, as well as your \fB$EDITOR\fR.\& You can use \fB\fR or \fB\fR and \fB\fR to cycle between these fields (tab won'\&t cycle between fields once you enter the editor, but \fB\fR and \fB\fR will).\& .PP Let'\&s send an email to yourself.\& Note that the To and From headers expect RFC 5322 addresses, e.\&g.\& \fBJohn Doe \fR, or simply \fB\fR.\& Separate multiple recipients with commas.\& Go ahead and fill out an email, then close the editor.\& .PP The message review screen is shown next.\& You have a chance now to revise the email before it'\&s sent.\& Press \fBy\fR to send the email if it looks good.\& .PP \fBNote\fR: when using the terminal in the message view, you can summon aerc'\&s ex command line by using \fB\fR.\& \fB:\fR is sent to the editor.\& .PP .SH USING THE TERMINAL .PP aerc comes with an embedded terminal, which you'\&ve already used to view and edit emails.\& We can also use this for other purposes, such as referencing a git repository while reviewing a patch.\& From the message list, we can use the following keybindings to open a terminal: .PP \fB\fR .RS 4 Opens a new terminal tab, running your shell .PP .RE \fB$\fR, \fB!\&\fR .RS 4 Prompts for a command to run, then opens a new terminal tab running that command .PP .RE \fB|\fR .RS 4 Prompts for a command to run, then pipes the selected email into that command and displays the result on a new terminal tab .PP .RE Try pressing \fB$\fR and entering \fItop\fR.\& You can also use the \fB:cd\fR command to change aerc'\&s working directory, and the directory in which new terminals run.\& Use \fB:pwd\fR to see it again if you'\&re not sure where you are.\& .PP .SH ADDITIONAL NOTES .PP .SS COMMANDS .PP Every keybinding is ultimately bound to an aerc command.\& You can also summon the command line by pressing \fB:\fR, then entering one of these commands.\& See \fBaerc\fR(1) or \fB:help\fR for a full list of commands.\& .PP .SS MESSAGE FILTERS .PP When displaying messages in the message viewer, aerc will pipe them through a message filter first.\& This allows you to decode messages in non-plaintext formats, add syntax highlighting, etc.\& aerc ships with a few default filters: .PP .PD 0 .IP \(bu 4 \fItext/plain\fR parts are piped through the \fIcolorize\fR built-in filter which handles URL, quotes and diff coloring.\& .IP \(bu 4 \fItext/calendar\fR is processed to be human readable text .IP \(bu 4 \fItext/html\fR (disabled by default) can be uncommented to pipe through the built-in \fIhtml\fR filter.\& .PD .PP .SS CUSTOMIZING AERC .PP Aerc is highly customizable.\& Review \fBaerc-config\fR(5) (or use \fB:help config\fR) to learn more about how to add custom keybindings, install new message filters, change its appearance and behavior, and so on.\& .PP .SH AUTHORS .PP Originally created by Drew DeVault and maintained by Robin Jarry who is assisted by other open source contributors.\& For more information about aerc development, see \fIhttps://sr.\&ht/~rjarry/aerc/\fR.\&