aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/aerc.conf.in')
-rw-r--r--config/aerc.conf.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
new file mode 100644
index 00000000..090e624d
--- /dev/null
+++ b/config/aerc.conf.in
@@ -0,0 +1,67 @@
+#
+# aerc main configuration
+
+[ui]
+#
+# Describes the format for each row in a mailbox view. This field is compatible
+# with mutt's printf-like syntax. TODO: document properly
+#
+# Default:
+index-format=%4C %Z %D %-17.17n %s
+
+#
+# See strftime(3)
+#
+# Default: %F %l:%M %p (ISO 8501 + 12 hour time)
+timestamp-format=%F %l:%M %p
+
+#
+# Width of the sidebar, including the border.
+#
+# Default: 20
+sidebar-width=20
+
+#
+# Message to display when viewing an empty folder.
+#
+# Default: (no messages)
+empty-message=(no messages)
+
+[viewer]
+#
+# Specifies the pager to use when displaying emails. Note that some filters
+# may add ANSI codes to add color to rendered emails, so you may want to use a
+# pager which supports ANSI codes.
+#
+# Default: less -R
+pager=less -R
+
+#
+# If an email offers several versions (multipart), you can configure which
+# mimetype to prefer. For example, this can be used to prefer plaintext over
+# html emails.
+#
+# Default: text/plain,text/html
+alternatives=text/plain,text/html
+
+[compose]
+#
+# Specifies the command to run the editor with. It will be shown in an embedded
+# terminal, though it may also launch a graphical window if the environment
+# supports it. Defaults to $EDITOR, or vi.
+editor=
+
+[filters]
+#
+# Filters allow you to pipe an email body through a shell command to render
+# certain emails differently, e.g. highlighting them with ANSI escape codes.
+#
+# The first filter which matches the email's mimetype will be used, so order
+# them from most to least specific.
+#
+# You can also match on non-mimetypes, by prefixing with the header to match
+# against (non-case-sensitive) and a comma, e.g. subject,text will match a
+# subject which contains "text". Use header,~regex to match against a regex.
+subject,~^\[PATCH=@SHAREDIR@/filters/hldiff.py
+text/html=@SHAREDIR@/filters/html
+text/*=@SHAREDIR@/filters/plaintext.py