aerc.conf 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. #
  2. # aerc main configuration
  3. [ui]
  4. #
  5. # Describes the format for each row in a mailbox view. This field is compatible
  6. # with mutt's printf-like syntax.
  7. #
  8. # Default: %D %-17.17n %Z %s
  9. index-format=%D %-17.17n %Z %s
  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 03:04 PM
  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. # Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
  30. #
  31. # Default: false
  32. mouse-enabled=false
  33. #
  34. # Ring the bell when new messages are received
  35. #
  36. # Default: true
  37. new-message-bell=true
  38. # Marker to show before a pinned tab's name.
  39. #
  40. # Default: `
  41. pinned-tab-marker='`'
  42. # Describes the format string to use for the directory list
  43. #
  44. # Default: %n %>r
  45. dirlist-format=%n %>r
  46. # List of space-separated criteria to sort the messages by, see *sort*
  47. # command in *aerc*(1) for reference. Prefixing a criterion with "-r "
  48. # reverses that criterion.
  49. #
  50. # Example: "from -r date"
  51. #
  52. # Default: ""
  53. sort=
  54. # Moves to next message when the current message is deleted
  55. #
  56. # Default: true
  57. next-message-on-delete=true
  58. # The directories where the stylesets are stored. It takes a colon-separated
  59. # list of directories.
  60. #
  61. # default: /usr/local/share/aerc/stylesets/
  62. stylesets-dirs=/usr/local/share/aerc/stylesets/
  63. # Sets the styleset to use for the aerc ui elements.
  64. #
  65. # Default: default
  66. styleset-name=default
  67. [viewer]
  68. #
  69. # Specifies the pager to use when displaying emails. Note that some filters
  70. # may add ANSI codes to add color to rendered emails, so you may want to use a
  71. # pager which supports ANSI codes.
  72. #
  73. # Default: less -R
  74. pager=less -R
  75. #
  76. # If an email offers several versions (multipart), you can configure which
  77. # mimetype to prefer. For example, this can be used to prefer plaintext over
  78. # html emails.
  79. #
  80. # Default: text/plain,text/html
  81. alternatives=text/plain,text/html
  82. #
  83. # Default setting to determine whether to show full headers or only parsed
  84. # ones in message viewer.
  85. #
  86. # Default: false
  87. show-headers=false
  88. #
  89. # Layout of headers when viewing a message. To display multiple headers in the
  90. # same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if
  91. # none of their specified headers are present in the message.
  92. #
  93. # Default: From|To,Cc|Bcc,Date,Subject
  94. header-layout=From|To,Cc|Bcc,Date,Subject
  95. # Whether to always show the mimetype of an email, even when it is just a single part
  96. #
  97. # Default: false
  98. always-show-mime=false
  99. # How long to wait after the last input before auto-completion is triggered.
  100. #
  101. # Default: 250ms
  102. completion-delay=250ms
  103. #
  104. # Global switch for completion popovers
  105. #
  106. # Default: true
  107. completion-popovers=true
  108. [compose]
  109. #
  110. # Specifies the command to run the editor with. It will be shown in an embedded
  111. # terminal, though it may also launch a graphical window if the environment
  112. # supports it. Defaults to $EDITOR, or vi.
  113. editor=
  114. #
  115. # Default header fields to display when composing a message. To display
  116. # multiple headers in the same row, separate them with a pipe, e.g. "To|From".
  117. #
  118. # Default: To|From,Subject
  119. header-layout=To|From,Subject
  120. #
  121. # Specifies the command to be used to tab-complete email addresses. Any
  122. # occurrence of "%s" in the address-book-cmd will be replaced with what the
  123. # user has typed so far.
  124. #
  125. # The command must output the completions to standard output, one completion
  126. # per line. Each line must be tab-delimited, with an email address occurring as
  127. # the first field. Only the email address field is required. The second field,
  128. # if present, will be treated as the contact name. Additional fields are
  129. # ignored.
  130. address-book-cmd=
  131. [filters]
  132. #
  133. # Filters allow you to pipe an email body through a shell command to render
  134. # certain emails differently, e.g. highlighting them with ANSI escape codes.
  135. #
  136. # The first filter which matches the email's mimetype will be used, so order
  137. # them from most to least specific.
  138. #
  139. # You can also match on non-mimetypes, by prefixing with the header to match
  140. # against (non-case-sensitive) and a comma, e.g. subject,text will match a
  141. # subject which contains "text". Use header,~regex to match against a regex.
  142. subject,~^\[PATCH=awk -f /usr/local/share/aerc/filters/hldiff
  143. #text/html=/usr/local/share/aerc/filters/html
  144. text/*=awk -f /usr/local/share/aerc/filters/plaintext
  145. #image/*=catimg -w $(tput cols) -
  146. [triggers]
  147. #
  148. # Triggers specify commands to execute when certain events occur.
  149. #
  150. # Example:
  151. # new-email=exec notify-send "New email from %n" "%s"
  152. #
  153. # Executed when a new email arrives in the selected folder
  154. new-email=
  155. [templates]
  156. # Templates are used to populate email bodies automatically.
  157. #
  158. # The directories where the templates are stored. It takes a colon-separated
  159. # list of directories.
  160. #
  161. # default: /usr/local/share/aerc/templates/
  162. template-dirs=/usr/local/share/aerc/templates/
  163. # The template to be used for quoted replies.
  164. #
  165. # default: quoted_reply
  166. quoted-reply=quoted_reply
  167. # The template to be used for forward as body.
  168. #
  169. # default: forward_as_body
  170. forwards=forward_as_body