############################################################################### ### Load Files ################################################################ ############################################################################### source ~/.config/mutt/colors.tim source ~/.config/mutt/aliases ############################################################################### ### Header Information ####################################################### ############################################################################### ignore * unignore From Subject To Control Newsgroups Message-ID Reply-To Cc Date \ Return-Path X-Spam-Status in-reply-to references Date hdr_order From Return-Path: From: Reply-To: To: Control: Newsgroups: Cc: \ Message-ID: Subject: Date: X-Spam-Status In-Reply-To ############################################################################### ### Global Settings ########################################################### ############################################################################### # set alternates="tskirvin@*" # Alternate email addresses set autoedit # Begins editor w/out prompts when mailing set attribution="%f writes:" # Format for attribution string unset beep # Beep when an error occurs set date_format="!%b %d" # The format of the date - month/year # set display_filter="" # Program to filter messages through set dsn_notify="failure" # Don't bother me on message delays sendmail set dsn_return=hdrs # Only return headers on message failures set edit_headers # Edit headers + body of outgoing message set editor="vim '+/^$/+'" # Use vim as editor, begin after the headers set fast_reply # Quickly reply to stuff # set fcc_clear # Fcc's aren't signed or encrypted set header # Includes full headers in replies set include=yes # Include the replied-to message set index_format="%4C %Z %d %-13.13F %4l %s" # Header format unset mark_old # Unread messages are saved as New unset metoo # Reply-all doesn't include me! set mime_forward=yes # Include attachments on forward set mime_forward_rest=yes # Include attachments on forward, II set move=no # Don't move stuff to ~/mbox set pgp_autosign # Try to PGP sign everything # set pgp_autoencrypt # Try to PGP encrypt everything set pgp_replysign # PGP sign replies to PGP encrypted stuff set pgp_replysignencrypted # PGP sign and encrypt replies to encryption set pgp_sign_as="0x0C2EE21D" # Sign as my standard self set pgp_timeout=600 # Save the PGP sig for 10 minutes (600 secs) set pipe_split # Pipe tagged messages one at a time set postpone=ask-no # Don't postpone messages be default set print=ask-yes # Don't print by default set quote_regexp="^ {0,5}[a-zA-Z]*>|}()%=-][]>|}()=-]*" # Quotes set realname="Tim Skirvin" # Real name set simple_search="~f %s | ~s %s | ~C %s | ~b %s" # Basic searches include To, Cc, and body set sort=date-received # Sort based on the date received # set strict_threads # Doesn't sort by subject, just by ID # Status format - change the top bar to be more useful set status_format='%r %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? Pat:"%?V?%V&~A?" %l]-%>-(%P)---' set tilde # ~'s are our friend unset markers # Get rid of the '+' as a linewrap thing set folder_format='%2C %f %> %t %N%8s' # More minimal # set folder_format="%f %> %t%N" set sort_browser='unsorted' # Don't sort the mailboxes mime_lookup application/octet-stream # What MIME type is this really? # Automatically view HTML messages alternative_order text/plain * auto_view text/html image/* ############################################################################### ### Keymap Binding ############################################################ ############################################################################### # Browser bind browser x exit bind browser h previous-page bind browser l next-page bind browser ' ' next-page bind browser backspace previous-page # Index bind index pagedown next-page bind index pageup previous-page bind index home first-entry bind index end last-entry bind index " " next-page bind index h previous-page bind index j next-entry bind index k previous-entry bind index l next-page bind index J next-page bind index K previous-page bind index < previous-page bind index > next-page bind index ^ first-entry bind index G last-entry bind index \Cu previous-page bind index \Cd next-page bind index "'" limit bind index Y print-message # A bad idea? # bind pager \E[A previous-line # bind pager next-line # bind pager exit # bind pager view-attachments # bind attach exit # bind attach view-attach # bind index display-message # macro index "c?" # bind browser select-entry # bind browser exit # Pager bind pager h previous-undeleted # vi mappings bind pager j next-line bind pager k previous-line bind pager l next-undeleted bind pager \Cu half-up bind pager \Cd half-down bind pager ^ top bind pager $ bottom bind pager / search bind pager > search-next bind pager < search-opposite bind pager b previous-undeleted # nn mappings bind pager p previous-undeleted bind pager n next-undeleted bind pager \Cm next-line bind pager ' ' next-page bind pager backspace previous-page bind pager Z exit bind pager z exit bind pager R group-reply # mush mappings bind pager L list-reply bind pager P check-traditional-pgp bind pager H display-toggle-weed bind pager B bounce-message bind pager Y print-message # Like pine... bind pager : enter-command ############################################################################### ### Macros #################################################################### ############################################################################### # macro pager X "| sa-learn --spam --no-sync --single" # macro index X "| sa-learn --spam --no-sync --single" macro index X "s~/mail/spam-tolearn^My" macro pager X "s~/mail/spam-tolearn^My" macro pager A "| sa-learn --ham --no-sync --single ^M" macro index A "| sa-learn --ham --no-sync --single ^M" # lynx is a console web browser, replace it with whatever you want macro generic "!lynx /opt/local/share/doc/mutt/manual.html\n" "Show Mutt documentation" macro index "!lynx /opt/local/share/doc/mutt/manual.html\n" "Show Mutt documentation" macro pager "!lynx /opt/local/share/doc/mutt/manual.html\n" "Show Mutt documentation" ############################################################################### ### Color Settings ############################################################ ############################################################################### # color quoted green blue mono search reverse mono error reverse