# Account information set from="hunter@puppet.com" set imap_user="hunter@puppet.com" source '~/.muttpassword.sh|' set realname="Hunter Haugen" set folder="imaps://imap.gmail.com:993" set spoolfile="+INBOX" set postponed="+[Gmail]/Drafts" # Cache message headers for quick retrieval set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt/certificates # ? set imap_keepalive=280 # Sort like gmail sorts it: freshest-thread first set sort=threads set sort_aux=reverse-last-date-received # Automatically poll subscribed mailboxes for new mail set imap_check_subscribed=yes # Display download progress every 5K set net_inc=5 # Don't skip past end of message on set pager_stop=yes # Don't copy sent mail; gmail does it unset record set copy=no # Don't move mail out of inbox on delete; gmail does it set move=no # Pretty it up # ---- # default list of header fields to weed out when displaying mail # ignore them all and then unignore what you want to see ignore * unignore Date To From: Cc Subject X-Tts X-Label unignore x-mailing-list: posted-to: unignore x-mailer: hdr_order Date To From: Cc Subject X-Tts X-Label color normal default default color header color148 default '^(Cc|Date|To|From|Subject):' color header brightwhite default '^(X-Mailer|X-Label|X-Tts):' color hdrdefault cyan default color index white default ~N color index brightwhite default ~O color index magenta default ~F color index brightblack default ~D color tree magenta default color quoted magenta default color quoted1 white default color quoted2 brightred default color quoted3 brightmagenta default #color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" color body magenta default "[-a-z_0-9.+]+@[-a-z_0-9.]+\.[a-z]{2,3}" color error color88 default color indicator black color148 color signature brightblack default color status color148 black color tilde blue default # Key bindings bind pager h display-toggle-weed bind pager J next-thread bind pager K previous-thread bind pager R group-reply # Macros macro index,pager c "?" "open a different folder" macro index ,cu "T.*\n;WN;WO^T.*\n" "catch up" macro generic,pager ,sm ":source $HOME/.muttrc\r" "Resource .muttrc without restart" # Gmail macros macro index,pager y "unset trash\n" "Archive message" macro index,pager gi "=INBOX" "Go to inbox" macro index,pager ga "=[Gmail]/All Mail" "Go to all mail" macro index,pager gs "=[Gmail]/Sent Mail" "Go to sent mail" macro index,pager gd "=[Gmail]/Drafts" "Go to drafts"