2019-05-17 17:45:20 +00:00
|
|
|
aerc(1)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
aerc - the world's best email client
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2019-06-18 13:42:41 +00:00
|
|
|
_aerc_ [-v]
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2019-06-05 00:32:05 +00:00
|
|
|
For a guided tutorial, use *:help tutorial* from aerc, or *man aerc-tutorial*
|
|
|
|
from your terminal.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2019-06-18 13:42:41 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
*-v*
|
|
|
|
Prints the installed version of aerc and exits.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
# RUNTIME COMMANDS
|
|
|
|
|
2019-05-21 20:31:04 +00:00
|
|
|
To execute a command, press ':' to bring up the command interface. Commands may
|
|
|
|
also be bound to keys, see *aerc-config*(5) for details. In some contexts, such
|
2019-07-19 16:33:10 +00:00
|
|
|
as the terminal emulator, '<c-x>' is used to bring up the command interface.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
Different commands work in different contexts, depending on the kind of tab you
|
|
|
|
have selected.
|
|
|
|
|
2019-07-23 16:52:33 +00:00
|
|
|
Aerc stores a history of commands, which can be cycled through in command mode.
|
|
|
|
Pressing the up key cycles backwards in history, while pressing down cycles
|
|
|
|
forwards.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## GLOBAL COMMANDS
|
|
|
|
|
|
|
|
These commands work in any context.
|
|
|
|
|
|
|
|
*cd* <directory>
|
|
|
|
Changes aerc's current working directory.
|
|
|
|
|
2019-07-26 08:32:59 +00:00
|
|
|
*change-tab* <tabname>
|
|
|
|
Changes the focus to the tab with the name.
|
|
|
|
|
2019-07-08 22:19:08 +00:00
|
|
|
*exec* <command...>
|
|
|
|
Executes an arbitrary command in the background.
|
|
|
|
|
|
|
|
*Note*: commands executed in this way are not executed with the shell.
|
|
|
|
|
2019-05-19 18:00:02 +00:00
|
|
|
*pwd*
|
|
|
|
Displays aerc's current working directory in the status bar.
|
|
|
|
|
2019-07-19 16:45:10 +00:00
|
|
|
*set* <category>.<option> <value>
|
|
|
|
Changes the value of a configuration paramter at runtime. The category is
|
|
|
|
the name of the [heading] for the config option you wish to change, and the
|
|
|
|
option is the name of the config option. For example, to change this option:
|
|
|
|
|
2019-07-19 16:46:19 +00:00
|
|
|
\[ui]++
|
2019-07-19 16:45:10 +00:00
|
|
|
index-format=before
|
|
|
|
|
|
|
|
Use :set ui.index-format after.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*term* [command...]
|
|
|
|
Opens a new terminal tab with a shell running in the current working
|
|
|
|
directory, or the specified command.
|
|
|
|
|
|
|
|
*prev-tab* [n], *next-tab* [n]
|
|
|
|
Cycles to the previous or next tab in the list, repeating n times
|
|
|
|
(default: 1).
|
|
|
|
|
|
|
|
*quit*
|
|
|
|
Exits aerc.
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
## MESSAGE COMMANDS
|
|
|
|
|
|
|
|
These commands are valid in any context that has a selected message (e.g. the
|
|
|
|
message list, the message in the message viewer, etc).
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2019-06-08 17:41:56 +00:00
|
|
|
*archive* <scheme>
|
|
|
|
Moves the selected message to the archive. The available schemes are:
|
|
|
|
|
|
|
|
*flat*: No special structure, all messages in the archive directory
|
|
|
|
|
|
|
|
*year*: Messages are stored in folders per year
|
|
|
|
|
|
|
|
*month*: Messages are stored in folders per year and subfolders per month
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*copy* <target>
|
|
|
|
Copies the selected message to the target folder.
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*delete*
|
2019-05-17 17:45:20 +00:00
|
|
|
Deletes the selected message.
|
|
|
|
|
2019-05-26 00:33:36 +00:00
|
|
|
*forward*
|
|
|
|
Opens the composer to forward the selected message to another recipient.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*move* <target>
|
|
|
|
Moves the selected message to the target folder.
|
|
|
|
|
2019-07-08 22:19:08 +00:00
|
|
|
*pipe* [-bmp] <cmd>
|
|
|
|
Downloads and pipes the selected message into the given shell command, and
|
|
|
|
opens a new terminal tab to show the result. By default, the selected
|
|
|
|
message part is used in the message viewer and the full message is used in
|
|
|
|
the message list.
|
|
|
|
|
|
|
|
*-b*: Run the command in the background instead of opening a terminal tab
|
2019-07-08 22:19:43 +00:00
|
|
|
|
2019-07-08 22:19:08 +00:00
|
|
|
*-m*: Pipe the full message
|
2019-07-08 22:19:43 +00:00
|
|
|
|
2019-07-08 22:19:08 +00:00
|
|
|
*-p*: Pipe just the selected message part, if applicable
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*reply* [-aq]
|
|
|
|
Opens the composer to reply to the selected message.
|
|
|
|
|
|
|
|
*-a*: Reply all
|
|
|
|
|
|
|
|
*-q*: Insert a quoted version of the selected message into the reply editor
|
|
|
|
|
|
|
|
*read*
|
|
|
|
Marks the selected message as read.
|
|
|
|
|
2019-07-15 17:51:07 +00:00
|
|
|
*-t*: Toggle the selected message between read and unread.
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*unread*
|
|
|
|
Marks the selected message as unread.
|
2019-07-23 16:52:33 +00:00
|
|
|
|
2019-07-15 17:51:07 +00:00
|
|
|
*-t*: Toggle the selected message between read and unread.
|
2019-06-09 18:59:13 +00:00
|
|
|
|
2019-07-04 15:01:07 +00:00
|
|
|
*unsubscribe*
|
|
|
|
Attempt to automatically unsubscribe the user from the mailing list through
|
|
|
|
use of the List-Unsubscribe header. If supported, aerc may open a compose
|
|
|
|
window pre-filled with the unsubscribe information or open the unsubscribe
|
|
|
|
URL in a web browser.
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
## MESSAGE LIST COMMANDS
|
|
|
|
|
2019-07-17 07:35:50 +00:00
|
|
|
*clear*
|
|
|
|
Clears the current search or filter criteria.
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*cf* <folder>
|
|
|
|
Change the folder shown in the message list.
|
|
|
|
|
|
|
|
*compose*
|
|
|
|
Open the compose window to send a new email. The new email will be sent with
|
2019-07-19 16:45:10 +00:00
|
|
|
the current account's outgoing transport configuration. For details on
|
|
|
|
configuring outgoing mail delivery consult *aerc-config*(5).
|
2019-06-09 18:59:13 +00:00
|
|
|
|
2019-07-17 07:35:50 +00:00
|
|
|
*filter* [options] <terms...>
|
|
|
|
Similar to *search*, but filters the displayed messages to only the search
|
|
|
|
results. See the documentation for *search* for more details.
|
|
|
|
|
2019-06-09 23:21:26 +00:00
|
|
|
*mkdir* <name>
|
|
|
|
Creates a new folder for this account and changes to that folder.
|
|
|
|
|
2019-07-19 16:45:10 +00:00
|
|
|
*next* <n>[%], *prev* <n>[%]
|
2019-05-17 17:45:20 +00:00
|
|
|
Selects the next (or previous) message in the message list. If specified as
|
|
|
|
a percentage, the percentage is applied to the number of messages shown on
|
|
|
|
screen and the cursor advances that far.
|
|
|
|
|
2019-07-17 07:35:50 +00:00
|
|
|
*next-folder* <n>, *prev-folder* <n>
|
|
|
|
Cycles to the next (or previous) folder shown in the sidebar, repeated n
|
|
|
|
times (default: 1).
|
|
|
|
|
|
|
|
*next-result*, *prev-result*
|
|
|
|
Selects the next or previous search result.
|
|
|
|
|
|
|
|
*search* [-ru] <terms...>
|
|
|
|
Searches the current folder for <terms>. Each separate term is searched
|
|
|
|
case-insensitively among subject lines.
|
|
|
|
|
|
|
|
*-r*: Search for read messages
|
|
|
|
|
|
|
|
*-u*: Search for unread messages
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*select* <n>
|
2019-05-17 17:45:20 +00:00
|
|
|
Selects the nth message in the message list (and scrolls it into view if
|
|
|
|
necessary).
|
|
|
|
|
2019-06-09 18:59:13 +00:00
|
|
|
*view*
|
2019-05-17 17:45:20 +00:00
|
|
|
Opens the message viewer to display the selected message.
|
|
|
|
|
|
|
|
## MESSAGE VIEW COMMANDS
|
|
|
|
|
2019-07-19 16:45:10 +00:00
|
|
|
*close*
|
|
|
|
Closes the message viewer.
|
|
|
|
|
|
|
|
*next* <n>[%], *prev* <n>[%]
|
|
|
|
Selects the next (or previous) message in the message list. If specified as
|
|
|
|
a percentage, the percentage is applied to the number of messages shown on
|
|
|
|
screen and the cursor advances that far.
|
|
|
|
|
|
|
|
*next-part*, *prev-part*
|
|
|
|
Cycles between message parts being shown. The list of message parts is shown
|
|
|
|
at the bottom of the message viewer.
|
|
|
|
|
2019-06-16 20:52:44 +00:00
|
|
|
*open*
|
|
|
|
Saves the current message part in a temporary file and opens it
|
2019-07-02 22:21:34 +00:00
|
|
|
with the system handler.
|
2019-06-16 20:52:44 +00:00
|
|
|
|
2019-06-11 18:26:13 +00:00
|
|
|
*save* [-p] <path>
|
2019-05-26 21:37:39 +00:00
|
|
|
Saves the current message part to the given path.
|
|
|
|
|
2019-06-25 07:23:52 +00:00
|
|
|
If no path is given but general.default-save-path is set, the
|
|
|
|
file will be saved there.
|
|
|
|
|
2019-06-11 18:26:13 +00:00
|
|
|
*-p*: Make any directories in the path that do not exist
|
|
|
|
|
2019-07-16 20:48:25 +00:00
|
|
|
## MESSAGE COMPOSE COMMANDS
|
|
|
|
|
2019-07-19 16:45:10 +00:00
|
|
|
*abort*
|
|
|
|
Close the composor without sending, discarding the message in progress.
|
|
|
|
|
2019-07-16 20:48:25 +00:00
|
|
|
*attach* <path>
|
|
|
|
Attaches the file at the given path to the email.
|
|
|
|
|
2019-07-19 16:45:10 +00:00
|
|
|
*edit*
|
|
|
|
(Re-) opens your text editor to edit the message in progress.
|
|
|
|
|
|
|
|
*next-field*, *prev-field*
|
|
|
|
Cycles between input fields in the compose window.
|
|
|
|
|
|
|
|
*save* [-p] <path>
|
|
|
|
Saves the selected message part to the specified path. If -p is selected,
|
|
|
|
aerc will create any missing directories in the specified path. If the path
|
|
|
|
specified is a directory or ends in /, aerc will use the attachment filename
|
|
|
|
if available or a generated name if not.
|
|
|
|
|
|
|
|
*send*
|
|
|
|
Sends the message using this accounts default outgoing transport
|
|
|
|
configuration. For details on configuring outgoing mail delivery consult
|
|
|
|
*aerc-config*(5).
|
|
|
|
|
|
|
|
*toggle-headers*
|
|
|
|
Toggles the visibility of the message headers.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## TERMINAL COMMANDS
|
|
|
|
|
|
|
|
*close*
|
|
|
|
Closes the terminal.
|
|
|
|
|
2019-06-12 16:20:49 +00:00
|
|
|
# LOGGING
|
|
|
|
|
|
|
|
Aerc does not log by default, but collecting log output can be useful for
|
|
|
|
troubleshooting and reporting issues. Redirecting stdout when invoking aerc will
|
|
|
|
write log messages to that file:
|
|
|
|
|
|
|
|
$ aerc > log
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
2019-07-11 13:44:54 +00:00
|
|
|
*aerc-config*(5) *aerc-imap*(5) *aerc-smtp*(5) *aerc-maildir*(5)
|
|
|
|
*aerc-tutorial*(7)
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
|
|
|
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
|
|
|
|
source contributors. For more information about aerc development, see
|
|
|
|
https://git.sr.ht/~sircmpwn/aerc.
|