92 lines
3.8 KiB
Text
92 lines
3.8 KiB
Text
![]() |
# Maildir setup
|
||
|
set mbox_type = Maildir
|
||
|
set copy # See also $record (f*ckin recursion)
|
||
|
set folder = "~/mail"
|
||
|
unmailboxes *
|
||
|
mailboxes = `find ~/mail -mindepth 1 -type d ! -name cur ! -name tmp ! -name new -printf '"%p"\0' | xargs -0`
|
||
|
|
||
|
# Load external configs
|
||
|
source sidebar.rc
|
||
|
source colors.rc
|
||
|
source gpg.rc
|
||
|
source keys.rc
|
||
|
|
||
|
# Accounts
|
||
|
source '~/.config/neomutt/folder-hooks.sh|'
|
||
|
|
||
|
# Basic options
|
||
|
unset wait_key # Only wait if command exited != 0
|
||
|
set mail_check = 0 # minimum time between scans
|
||
|
set delete # delete messages for real
|
||
|
unset confirmappend # don't ask when adding to a mailbox
|
||
|
set quit #default; <quit> exits neomutt
|
||
|
unset move #default; don't move read messages
|
||
|
unset mark_old # don't mark unread mail as old when exiting mailbox
|
||
|
set beep_new # Hope your term bell is set to something sensible :P
|
||
|
set pipe_decode # decode and weed headers before <pipe-message>
|
||
|
set thorough_search #default; decode mail before searching ~b and ~h
|
||
|
set sleep_time = 0 # Speed up folder opening
|
||
|
|
||
|
# Status bar
|
||
|
set status_chars = " *%A" # mailbox unchanged/changed/RO/attach-msg mode
|
||
|
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
|
||
|
|
||
|
#########
|
||
|
# Index #
|
||
|
#########
|
||
|
set date_format = "%d/%m/%y %H:%M"
|
||
|
set index_format = "[%Z] %D - %-20.20F %s"
|
||
|
set sort = threads
|
||
|
set sort_aux = last-date-received
|
||
|
set uncollapse_jump # Jump to unread when unfolding
|
||
|
set sort_re #default; useful for mailbox sort in sidebar
|
||
|
|
||
|
#########
|
||
|
# Pager #
|
||
|
#########
|
||
|
set pager_index_lines = 10 # lines aboves the pager
|
||
|
set pager_context = 3 # lines of context around selected msg in index
|
||
|
set pager_stop # don't jump to next msg when scrolling past the end
|
||
|
set menu_scroll # don't skip to next page when reaching bottom
|
||
|
set tilde # pad blank lines with '~'
|
||
|
unset markers # remove '+' on wrapped lines
|
||
|
set smart_wrap #default; wrap at word boundaries
|
||
|
set quote_regex = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||
|
# Prefer plaintext and process html through mailcap
|
||
|
alternative_order text/plain text/enriched text/html
|
||
|
auto_view text/html
|
||
|
# Prune headers
|
||
|
ignore *
|
||
|
unignore From To Reply-To Cc Bcc Subject Date
|
||
|
unignore Organization X-Label X-Mailer User-Agent
|
||
|
|
||
|
###########
|
||
|
# Compose #
|
||
|
###########
|
||
|
set use_from # set a From: header
|
||
|
set use_envelope_from # which from?
|
||
|
set sig_dashes # dashes before sig
|
||
|
set edit_headers # show headers when composing
|
||
|
set fast_reply # skip to compose when replying
|
||
|
set askcc # ask for CC:
|
||
|
set fcc_attach # save attachments with the body
|
||
|
unset mime_forward # forward attachments as part of body
|
||
|
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||
|
set forward_decode # decode when forwarding
|
||
|
set attribution = "On %d, %n wrote:" # format of quoting header
|
||
|
set reply_to # reply to Reply to: field
|
||
|
set reverse_name # reply as whomever it was to
|
||
|
set include # include message in replies
|
||
|
set forward_quote # include message in forwards
|
||
|
set send_charset = utf-8
|
||
|
set sendmail_wait = 0 # wait for msmtp to finish sending
|
||
|
set abort_noattach = ask-yes # warn for missing attachment
|
||
|
set abort_noattach_regex = "\\<(attach(|ed|ments?)|(attaché|attachés|attache|attachons|joint|jointe|joints|jointes|joins|joignons))\\>"
|
||
|
|
||
|
set editor = "vim -c 'set tw=70 et wrap' '+/^$' "
|
||
|
|
||
|
###########
|
||
|
# Browser #
|
||
|
###########
|
||
|
set mask = ".*" # Which files to match
|