12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #
- # aerc main configuration
- [general]
- pgp-provider=gpg
- [ui]
- index-columns = date<*,name<17,subject<*
- column-date = {{.DateAutoFormat .Date.Local}}
- column-name = {{index (.From | names) 0}}
- column-subject = {{.ThreadPrefix}}{{.Subject}}
- #
- # See time.Time#Format at https://godoc.org/time#Time.Format
- #
- # Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
- timestamp-format=2006-01-02 15:04
- #
- # 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)
- # Message to display when no folders exists or are all filtered
- #
- # Default: (no folders)
- empty-dirlist=(no folders)
- [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
- #
- # Default setting to determine whether to show full headers or only parsed
- # ones in message viewer.
- #
- # Default: false
- show-headers=false
- [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=hx
- [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=awk -f /usr/share/aerc/filters/hldiff
- text/html=/home/adam/.local/share/aerc/html-filter
- text/plain=cat
- #text/*=awk -f /usr/share/aerc/filters/plaintext
- image/*=catimg -w $(tput cols) -
|