# # Mutt settings common everywhere # # Mailbox Settings set mbox_type="mbox" set folder="~/.maildir" # Mutt settings set header_cache=~/.mutt/mutt_cache/ set delete=yes unset confirmappend set sort=threads set sort_aux = last-date-received set pager_stop=yes set mark_old = no unset markers set text_flowed=yes set display_filter="~/bin/mutt-display-filter.sh" set edit_headers=yes auto_view text/html alternative_order text/plain text/enriched text/html # Headers ignore * unignore date from: to: cc subject X-Spam-Status set forward_format="Fwd: %s" # Macros macro pager "" "Previous line" macro pager "" "Next line" bind index,pager g noop bind index gg first-entry bind pager gg top bind index G last-entry bind pager G bottom bind index,pager R group-reply macro index,pager c "?" "open a different folder" macro index C "?" "copy a message to a mailbox" macro index M "?" "move a message to a mailbox" macro index,pager e "+archive" "Archive a message." # For gmail, don't move the message to archive, just remove it from the inbox. # macro index,pager e "" "Archive a message." macro index,pager S "+spam" "Report message as spam." macro pager \Cu "|urlview" "view links in urlview" macro index \es "unset wait_keynotmuch-mutt --prompt search~/.cache/notmuch/mutt/results/" "Search All Mail" macro index \ "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ notmuch-mutt -r thread\ `echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ "notmuch: reconstruct thread" # Contacts set query_command= "khard email --parsable '%s'" bind editor complete-query bind editor ^T complete #add email addresses to khard's address book macro index,pager A "khard add-email" "add the sender email address to khard" # Colors #color index brightwhite default ~N #color index brightwhite default ~O # ## colors #color normal white black #color attachment brightyellow black #color hdrdefault white black #color indicator black white #color markers brightred black #color quoted green black #color signature cyan black #color status black white #color tilde blue black #color tree red black # Grab any host-specific settings source ~/.host-specific/muttrc source ~/.mutt/aliases source ~/.mutt/group-aliases