config/aerc/aerc.conf (view raw)
1#
2# aerc main configuration
3
4[ui]
5#
6# Describes the format for each row in a mailbox view. This field is compatible
7# with mutt's printf-like syntax.
8#
9# Default:
10index-format=%D %-17.17n %s
11
12#
13# See time.Time#Format at https://godoc.org/time#Time.Format
14#
15# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
16timestamp-format=2006-01-02 03:04 PM
17
18#
19# Width of the sidebar, including the border.
20#
21# Default: 20
22sidebar-width=20
23
24#
25# Message to display when viewing an empty folder.
26#
27# Default: (no messages)
28empty-message=(no messages)
29
30# Message to display when no folders exists or are all filtered
31#
32# Default: (no folders)
33empty-dirlist=(no folders)
34
35# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
36#
37# Default: false
38mouse-enabled=false
39
40[viewer]
41#
42# Specifies the pager to use when displaying emails. Note that some filters
43# may add ANSI codes to add color to rendered emails, so you may want to use a
44# pager which supports ANSI codes.
45#
46# Default: less -R
47pager=less -R
48
49#
50# If an email offers several versions (multipart), you can configure which
51# mimetype to prefer. For example, this can be used to prefer plaintext over
52# html emails.
53#
54# Default: text/plain,text/html
55alternatives=text/plain,text/html
56
57#
58# Default setting to determine whether to show full headers or only parsed
59# ones in message viewer.
60#
61# Default: false
62show-headers=false
63
64#
65# Layout of headers when viewing a message. To display multiple headers in the
66# same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if
67# none of their specified headers are present in the message.
68#
69# Default: From|To,Cc|Bcc,Date,Subject
70header-layout=From|To,Cc|Bcc,Date,Subject
71
72# Whether to always show the mimetype of an email, even when it is just a single part
73#
74# Default: false
75always-show-mime=false
76
77[compose]
78#
79# Specifies the command to run the editor with. It will be shown in an embedded
80# terminal, though it may also launch a graphical window if the environment
81# supports it. Defaults to $EDITOR, or vi.
82editor=
83
84[filters]
85#
86# Filters allow you to pipe an email body through a shell command to render
87# certain emails differently, e.g. highlighting them with ANSI escape codes.
88#
89# The first filter which matches the email's mimetype will be used, so order
90# them from most to least specific.
91#
92# You can also match on non-mimetypes, by prefixing with the header to match
93# against (non-case-sensitive) and a comma, e.g. subject,text will match a
94# subject which contains "text". Use header,~regex to match against a regex.
95subject,~^\[PATCH=awk -f /usr/local/share/aerc/filters/hldiff
96#text/html=/usr/local/share/aerc/filters/html
97text/*=awk -f /usr/local/share/aerc/filters/plaintext
98image/*=catimg -w $(tput cols) -