aerc.conf 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # aerc main configuration
  3. [general]
  4. pgp-provider=gpg
  5. [ui]
  6. index-columns = date<*,name<17,subject<*
  7. column-date = {{.DateAutoFormat .Date.Local}}
  8. column-name = {{index (.From | names) 0}}
  9. column-subject = {{.ThreadPrefix}}{{.Subject}}
  10. #
  11. # See time.Time#Format at https://godoc.org/time#Time.Format
  12. #
  13. # Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
  14. timestamp-format=2006-01-02 15:04
  15. #
  16. # Width of the sidebar, including the border.
  17. #
  18. # Default: 20
  19. sidebar-width=20
  20. #
  21. # Message to display when viewing an empty folder.
  22. #
  23. # Default: (no messages)
  24. empty-message=(no messages)
  25. # Message to display when no folders exists or are all filtered
  26. #
  27. # Default: (no folders)
  28. empty-dirlist=(no folders)
  29. [viewer]
  30. #
  31. # Specifies the pager to use when displaying emails. Note that some filters
  32. # may add ANSI codes to add color to rendered emails, so you may want to use a
  33. # pager which supports ANSI codes.
  34. #
  35. # Default: less -R
  36. pager=less -R
  37. #
  38. # If an email offers several versions (multipart), you can configure which
  39. # mimetype to prefer. For example, this can be used to prefer plaintext over
  40. # html emails.
  41. #
  42. # Default: text/plain,text/html
  43. alternatives=text/plain,text/html
  44. #
  45. # Default setting to determine whether to show full headers or only parsed
  46. # ones in message viewer.
  47. #
  48. # Default: false
  49. show-headers=false
  50. [compose]
  51. #
  52. # Specifies the command to run the editor with. It will be shown in an embedded
  53. # terminal, though it may also launch a graphical window if the environment
  54. # supports it. Defaults to $EDITOR, or vi.
  55. editor=hx
  56. [filters]
  57. #
  58. # Filters allow you to pipe an email body through a shell command to render
  59. # certain emails differently, e.g. highlighting them with ANSI escape codes.
  60. #
  61. # The first filter which matches the email's mimetype will be used, so order
  62. # them from most to least specific.
  63. #
  64. # You can also match on non-mimetypes, by prefixing with the header to match
  65. # against (non-case-sensitive) and a comma, e.g. subject,text will match a
  66. # subject which contains "text". Use header,~regex to match against a regex.
  67. subject,~^\[PATCH=awk -f /usr/share/aerc/filters/hldiff
  68. text/html=/home/adam/.local/share/aerc/html-filter
  69. text/plain=cat
  70. #text/*=awk -f /usr/share/aerc/filters/plaintext
  71. image/*=catimg -w $(tput cols) -