sync/mutt/.mutt/muttrc
2019-04-05 14:28:27 -04:00

72 lines
2.0 KiB
Plaintext

# Setup bindings
source ~/.mutt/bindings
set smtp_authenticators = "login"
#set ssl_force_tls = yes
set smtp_authenticators = 'gssapi:login'
# character set on sent messages
set send_charset="utf-8"
# if there is no character set given on incoming messages, it is probably windows
set assumed_charset="iso-8859-1"
set sendmail="/usr/bin/msmtp"
set use_from=yes
set use_envelope_from = yes
# So we can change from
set edit_headers=yes
# make sure Vim knows Mutt is a mail client and that a UTF-8 encoded message will be composed
set editor="vim -c 'set syntax=mail ft=mail enc=utf-8 formatoptions-=t'"
# Treat text as flowed
# End lines with whitespae to chomp them
# Otherwise, newlines will be kept
#set text_flowed
# Apparently this doesn't work well with some clients
# auto_view application/msword
# auto_view application/pdf
# make default search pattern to search in To, Cc and Subject
# set simple_search="~f %s | ~C %s | ~s %s"
# folder-hook 'personal'
# macro index 1 "<change-folder> =../EMAIL_ADDRESS/inbox/<enter>"
# macro index 2
set move = no
# macro index,pager d "<save-message>=Archive<enter><enter><sync-mailbox><enter>" "Archive"
# macro index,pager y "<save-message>=Archive<enter><enter><sync-mailbox><enter>" "Archive"
# Aliases
set alias_file = "~/.mutt/aliases"
set sort_alias = alias
set reverse_alias = yes
source $alias_file
# Sort reverse order
set sort_aux=reverse-date-received
set sort=threads
set sort_re
set date_format = "%m/%d/%t"
# prefer plain text
alternative_order text/plain text/enriched text/html
# auto convert text/html MIME type to text/plain
auto_view text/html
# urls
# macro pager \cb <pipe-entry>'tr -d "\n" | w3m'<enter> 'Follow links in w3m'
macro pager \cb <pipe-entry>'w3m'<enter> 'Follow links in w3m'
# macro pager \cb <pipe-entry>'pandoc -f html -t markdown | vim -'<enter> 'Open as markdown'
set mailcap_path = ~/.mutt/mailcap
# macro index z "!mbsync -a^M" "Update through mbsync"
source ~/.mutt/private
# vim: set ft=muttrc