94 lines
4.1 KiB
Text
94 lines
4.1 KiB
Text
![]() |
set copy # See also $record
|
||
|
unmailboxes *
|
||
|
source "~/.config/neomutt/mailboxes.sh $folder|"
|
||
|
|
||
|
# Load external configs
|
||
|
source sidebar.rc
|
||
|
source colors.rc
|
||
|
source gpg.rc
|
||
|
source keys.rc
|
||
|
|
||
|
# Accounts
|
||
|
source "~/.config/neomutt/folder-hooks.sh $folder|"
|
||
|
|
||
|
# Basic options
|
||
|
unset wait_key # Only wait if command exited != 0
|
||
|
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
|
||
|
unset pipe_decode # decode and weed headers before <pipe-message>, urlscan seems to require it unset
|
||
|
set thorough_search #default; decode mail before searching ~b and ~h
|
||
|
set sleep_time = 0 # Speed up folder opening
|
||
|
set change_folder_next # Default to next folder in list
|
||
|
set mail_check = 5 #default; look for new mail every 'n' seconds
|
||
|
set mail_check_stats # Allow mail stats gathering
|
||
|
set mail_check_stats_interval = 10 # Mail stats calc interval
|
||
|
|
||
|
# 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
|
||
|
unset narrow_tree #default; compact thread tree arrows
|
||
|
|
||
|
#########
|
||
|
# 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 #
|
||
|
###########
|
||
|
# https://www.zigg.com/2018/natalie-nguyen.html
|
||
|
my_hdr X-Clacks-Overhead: GNU Natalie Nguyen, Terry Pratchett
|
||
|
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' '+/^$' "
|
||
|
|
||
|
set mask = ".*" # Which files to match
|
||
|
|
||
|
# vim: syntax=neomuttrc
|