main dots / config / .config / mutt / settings.muttrc
xxwhirlpool  ·  2026-06-08
 1# settings
 2set pager_index_lines = 10
 3set pager_context = 3                # show 3 lines of context
 4set pager_stop                       # stop at end of message
 5set menu_scroll                      # scroll menu
 6set tilde                            # use ~ to pad mutt
 7set move=no                          # don't move messages when marking as read
 8set mail_check = 30                  # check for new mail every 30 seconds
 9set imap_keepalive = 900             # 15 minutes
10set sleep_time = 0                   # don't sleep when idle
11set wait_key = no		             # mutt won't ask "press key to continue"
12set envelope_from                    # which from?
13set edit_headers                     # show headers when composing
14set fast_reply                       # skip to compose when replying
15set askcc                            # ask for CC:
16set fcc_attach                       # save attachments with the body
17set forward_format = "Fwd: %s"       # format of subject when forwarding
18set forward_decode                   # decode when forwarding
19set forward_quote                    # include message in forwards
20set mime_forward                     # forward attachments as part of body
21set attribution = "On %d, %n wrote:" # format of quoting header
22set reply_to                         # reply to Reply to: field
23set reverse_name                     # reply as whomever it was to
24set include                          # include message in replies
25set text_flowed=yes                  # correct indentation for plain text
26unset sig_dashes                     # no dashes before sig
27unset markers
28
29set editor = "micro"
30
31# sort by new convo/email first
32set charset = "utf-8"
33set uncollapse_jump
34set sort_re
35set sort = reverse-threads
36set sort_aux = last-date-received
37
38# how we reply & quote emails
39set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
40set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
41set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8
42
43# sidebar
44set sidebar_visible # comment to disable sidebar by default
45set sidebar_short_path
46set sidebar_folder_indent
47set sidebar_format = "%B %* [%?N?%N / ?%S]"
48set mail_check_stats
49bind index,pager \CJ sidebar-prev
50bind index,pager \CK sidebar-next
51bind index,pager \CE sidebar-open
52bind index,pager B sidebar-toggle-visible
53
54# mailcap file
55set mailcap_path = "$XDG_CONFIG_HOME/mutt/mailcap"
56# open attachments with mailcap with <return>
57bind attach <return> view-mailcap
58# save attachments to a folder
59macro attach s '<save-entry> <bol>~/Documents/Email/attachments/<eol>' 'save attachment'
60auto_view text/html		# automatically show html (mailcap uses lynx)