# -*-muttrc-*- source "gpg2 -dq $HOME/.mutt/shadow.gpg |"" source ~/.mutt/crypto # PGP ------------------------------------------------ set pgp_use_gpg_agent = yes set pgp_autosign = yes set pgp_auto_decode = yes # Index Key Bindings --------------------------------- bind index gg first-entry bind index G last-entry bind index R group-reply bind index sync-mailbox bind index collapse-thread # Ctrl-R to mark all as read macro index \Cr "T~UN." "mark all messages as read" # Ctrl-A to archive all macro index \Ca "T.*=Archived" "archive all message" # Sync email macro index ss "mbsync -a" # Saner copy/move dialogs macro index C "?" "copy a message to a mailbox" macro index M "?" "move a message to a mailbox" macro index,pager A "=Archived" "Archive Message" # Goobook macro index,pager a "goobook add" "add sender to google contacts" bind editor complete-query # Sidebar Navigation --------------------------------- bind index,pager sidebar-next bind index,pager sidebar-prev bind index,pager sidebar-open macro index b 'toggle sidebar_visible' macro pager b 'toggle sidebar_visible' bind index B bounce-message # Basic Options -------------------------------------- set sort = threads # prettier inbox set wait_key = no # shut up, mutt set mbox_type = Maildir # mailbox type set timeout = 3 # idle time before scanning set mail_check = 0 # minimum time between scans unset move # gmail does that set delete # don't ask, just do unset confirmappend # don't ask, just do! set quit # don't ask, just do!! unset mark_old # read/new is good enough for me set beep_new # bell on new mails set pipe_decode # strip headers and eval mimes when piping set thorough_search # strip headers and eval mimes before searching unset record # gmail saves a copy of the sent message set query_command = "goobook query '%s'; exchangebook '%s'" alternative_order text/html text/enriched text/plain auto_view text/html # Paths ---------------------------------------------- set folder = ~/.mail # mailbox location set alias_file = ~/.mutt/alias # where to store aliases set header_cache = ~/.mutt/cache/headers # where to store headers set message_cachedir = ~/.mutt/cache/bodies # where to store bodies set certificate_file = ~/.mutt/certificates # where to store certs set mailcap_path = ~/.mutt/mailcap # entries for filetypes set tmpdir = ~/.mutt/temp # where to keep temp files # Sidebar Patch -------------------------------------- set sidebar_delim = ' │' set sidebar_visible = yes set sidebar_width = 32 color sidebar_new color221 color233 # 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 )?───" # Accounts ------------------------------------------- source "~/.mutt/ianonavy.com" folder-hook $folder 'source ~/.mutt/ianonavy.com' macro index,pager oi 'source ~/.mutt/ianonavy.com!' source "~/.mutt/work" folder-hook $folder 'source ~/.mutt/work' macro index,pager ow 'source ~/.mutt/work!' source "~/.mutt/gmail" folder-hook $folder 'source ~/.mutt/gmail' macro index,pager og 'source ~/.mutt/gmail!' source "~/.mutt/school" folder-hook $folder 'source ~/.mutt/school' macro index,pager os 'source ~/.mutt/school!' # Palette for use with the Linux console. Black background. color hdrdefault blue black color quoted blue black color signature blue black color attachment red black color message brightred black color error brightred black color indicator black green color status brightgreen black color tree white black color normal white black color markers red black color search white black color tilde brightmagenta black color index blue black ~F color index red black "~N|~O" color body brightwhite black '\*+[^*]+\*+' color body brightwhite black '_+[^_]+_+'