| 1 |
# Accound information |
| 2 |
source '~/.muttrc.sh|' |
| 3 |
|
| 4 |
# Cache message headers for quick retrieval |
| 5 |
set header_cache=~/.mutt/cache/headers |
| 6 |
set message_cachedir=~/.mutt/cache/bodies |
| 7 |
set certificate_file=~/.mutt/certificates |
| 8 |
|
| 9 |
set move=no |
| 10 |
|
| 11 |
# Sort like gmail sorts it |
| 12 |
set sort=threads |
| 13 |
set sort_aux=last-date-received |
| 14 |
# Automatically poll subscribed mailboxes for new mail |
| 15 |
set imap_check_subscribed |
| 16 |
# Display download progress every 5K |
| 17 |
set net_inc=5 |
| 18 |
|
| 19 |
# uber-mutt stuff |
| 20 |
set sidebar_width=22 |
| 21 |
set sidebar_visible=no |
| 22 |
set sidebar_delim='|' |
| 23 |
set sidebar_sort=yes |
| 24 |
color sidebar_new color148 default |
| 25 |
bind index \CP sidebar-prev |
| 26 |
bind index \CN sidebar-next |
| 27 |
bind index \CO sidebar-open |
| 28 |
bind pager \CP sidebar-prev |
| 29 |
bind pager \CN sidebar-next |
| 30 |
bind pager \CO sidebar-open |
| 31 |
macro index b '<enter-command>toggle sidebar_visible<enter><refresh>' |
| 32 |
macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>' |
| 33 |
bind index B bounce-message |
| 34 |
|
| 35 |
# Ignore gmail stuff, just in case |
| 36 |
ignore "Authentication-Results:" |
| 37 |
ignore "DomainKey-Signature:" |
| 38 |
ignore "DKIM-Signature:" |
| 39 |
|
| 40 |
# Pretty it up |
| 41 |
# ---- |
| 42 |
# default list of header fields to weed out when displaying mail |
| 43 |
# ignore them all and then unignore what you want to see |
| 44 |
ignore * |
| 45 |
unignore Date To From: Cc Subject X-Tts |
| 46 |
hdr_order Date To From: Cc Subject X-Tts |
| 47 |
color normal default default |
| 48 |
color header color148 default '^(Cc|Date|To|From|Subject|X-Tts):' |
| 49 |
color hdrdefault cyan default |
| 50 |
|
| 51 |
color index white default ~N |
| 52 |
color index brightwhite default ~O |
| 53 |
color index magenta default ~F |
| 54 |
color index brightblack default ~D |
| 55 |
|
| 56 |
color tree magenta default |
| 57 |
color quoted magenta default |
| 58 |
color quoted1 white default |
| 59 |
color quoted2 brightred default |
| 60 |
color quoted3 brightmagenta default |
| 61 |
|
| 62 |
#color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" |
| 63 |
color body magenta default "[-a-z_0-9.+]+@[-a-z_0-9.]+\.[a-z]{2,3}" |
| 64 |
color error color88 default |
| 65 |
color indicator black color148 |
| 66 |
color signature brightblack default |
| 67 |
color status color148 black |
| 68 |
color tilde blue default |
| 69 |
|
| 70 |
# Key bindings |
| 71 |
bind pager h display-toggle-weed |
| 72 |
|
| 73 |
# Macros |
| 74 |
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder" |
| 75 |
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder" |
| 76 |
macro index \ec "T.*\n;WN;WO^T.*\n" "catch up" |
| 77 |
macro generic ,sm ":source $HOME/.muttrc\r" "Resource .muttrc without restart" |