diff options
Diffstat (limited to '.mutt/muttrc')
-rw-r--r-- | .mutt/muttrc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc new file mode 100644 index 0000000..a8a0245 --- /dev/null +++ b/.mutt/muttrc @@ -0,0 +1,64 @@ +# The basics +set folder="~/mail" +set header_cache = "~/.cache/mutt/headers" +set mbox_type=Maildir +set message_cachedir = "~/.cache/mutt/messages" +set postponed="=drafts" +set record="sent" +set sort="threads" +set forward_format = "Fwd: %s" # Format of subject when forwarding + +# Tweaks +unset help # Remove annoying messages +set beep_new +set charset="utf-8" +set fast_reply +set fast_reply=yes # Skip prompt for subject and recipients when replying +set hidden_host=yes +set include # Include message in replies +set mailcap_path = $HOME/.mailcap +set mark_old=no +set markers=no +set mask="!^\\.[^.]" +set pager_context=5 # Retain 5 lines of previous page when scrolling. +set send_charset="utf-8" +set sleep_time = 0 +set smart_wrap # Do not wrap mid word +set wait_key=no + +# Pager +set pager_index_lines = 10 # Number of index lines to show +set pager_context = 3 # Number of context lines to show +set pager_stop # Don't go to next message automatically + +# PGP +set pgp_auto_decode=yes +set pgp_getkeys_command="gpg --recv-keys %r 2>/dev/null" + +# Sanitize messages with t-prot +set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads' + +# Date format +set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z" + +# Conditional time +set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s' + +# Status Bar +set status_chars = " *%A" +set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───" + +# HTML +auto_view text/html image/* application/x-gunzip application/x-tar-gz +alternative_order text/plain text/enriched text/html + +# Extra configs +source "$HOME/.mutt/muttrc.aliases" +source "$HOME/.mutt/muttrc.binds" +source "$HOME/.mutt/muttrc.colors" +source "$HOME/.mutt/muttrc.hooks" +source "$HOME/.mutt/muttrc.macros" +source "$HOME/.mutt/muttrc.sidebar" + +source "$HOME/.mutt/muttrc.mailboxes.env|" +source "$HOME/.mutt/muttrc.send.env|" |