1 # Emacs is my editor of choice. I have mostly read that people like
2 # using emacs-client here and using an emacs server so that the
3 # editing opens up in an existing emacs session but I prefer
4 # loading up a fresh instance. The default editor is some 'vi'
7 # Don't ask to move read message
11 # Setting these macros is going to save us all of that time I was
12 # talking about. Now instead of having to type all of those
13 # characters to move the mail around we will can just tag the messages
14 # and, for the instance of spam in your inbox, hit 'S'.
16 # Move mail to correct directories
17 macro index S ";s~/Maildir/.MissedSpam\r\r$\r"
18 macro pager S ";s~/Maildir/.MissedSpam\r\r$\r"
19 macro index H ";C~/Maildir/.MissedHam\r\r;s~/Maildir\r\r$\r"
20 macro pager H ";C~/Maildir/.MissedHam\r\r;s~/Maildir\r\r$\r"
21 macro index M ";s~/Maildir/\r"
22 macro pager M ";s~/Maildir/\r"
24 # This one lets me quickly move job search related emails to the
25 # correct directory. Want to give me a job? :)
26 macro index B ";s~/Maildir/.Job\r\r$\r"
27 macro pager B ";s~/Maildir/.Job\r\r$\r
29 # This is how we are going to move around to the different
30 # mailboxes. Hitting 'alt-1' will take us to our inbox
31 # 'alt-2' and we are looking at the mail Spambayes classified
33 # The extra mailboxes I have in here are for mailing lists I am on.
34 # I will show the procmail recipe that automatically puts
35 # the mailing list mail into its correct mailbox further down.
37 # Move to mailboxes quickly
38 macro index <Esc>1 "c~/Maildir\r"
39 macro pager <Esc>1 "c~/Maildir\r"
40 macro index <Esc>2 "c~/Maildir/.CaughtSpam\r"
41 macro pager <Esc>2 "c~/Maildir/.CaughtSpam\r"
42 macro index <Esc>3 "c~/Maildir/.Unsure\r"
43 macro pager <Esc>3 "c~/Maildir/.Unsure\r"
44 macro index <Esc>4 "c~/Maildir/.Tur\r"
45 macro pager <Esc>4 "c~/Maildir/.Tur\r"
46 macro index <Esc>5 "c~/Maildir/.Sbayes\r"
47 macro pager <Esc>5 "c~/Maildir/.Sbayes\r"
48 macro index <Esc>6 "c~/Maildir/.Wikka\r"
49 macro pager <Esc>6 "c~/Maildir/.Wikka\r"
50 # Training Maildirs for Spam and Ham
51 macro index <Esc>8 "c~/Maildir/.MissedSpam\r"
52 macro pager <Esc>8 "c~/Maildir/.MissedSpam\r"
53 macro index <Esc>9 "c~/Maildir/.MissedHam\r"
54 macro pager <Esc>9 "c~/Maildir/.MissedHam\r"
56 macro index <Esc>0 "c~/Maildir/.Job\r"
57 macro pager <Esc>0 "c~/Maildir/.Job\r"
59 ################## arrowzhang color
60 # color status white blue
61 # color attachment cyan black
62 # color normal white black
63 # color bold white black
64 # color hdrdefault white black
65 # color indicator white cyan
66 # color indicator black white
67 color indicator brightblack white
68 # color message white black
69 # color tilde white black
70 # color underline white magenta
71 # color body white black "*"
72 # color header white black "*"
73 # color index white black "*"
76 # Setting these colors makes it easy to tell which emails
77 # Spambayes has missed.
78 # Turn spam red and unsure green
79 color index red default "~h '^X-Spambayes-Classification: spam'"
80 color index green default "~h '^X-Spambayes-Classification: unsure'"
81 # Turn gmail mail brightblue
82 # (My regular expression is not correct here. I think that it
83 # is looking anywhere in the header for my gmail address
84 # instead of what I wanted.. Just in the 'To:'.
85 # It still works for the most part)
86 # color index brightcyan default "~h '(^)*@googlegroups.com'
87 color index white default "~h '(^)*@googlegroups.com'
89 # Lets set more colors to make things look beautiful. Judging by
90 # my title for this section I must have had bad feelings towards
91 # colors when I added this.
93 color index brightwhite default ~N # color for new messages
94 # color status black yellow
95 color status black brightwhite
96 color attachment brightyellow default # file attachments
97 color search brightred default # search matches
98 color quoted brightyellow default # quoted text in replies
99 color quoted1 magenta default # quoted text in replies
100 color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" # URLs
101 color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" # email
103 # The rest of this stuff is pretty important for functionality and
106 # My signature is in this file
107 set signature="~/.signature"
109 # Change mail to look like from scott@hypexr.org
110 # Stick your email address here.
111 # my_hdr From: Scott Rippee <scott@hypexr.org>
112 my_hdr From:arrow.ebd@gmail.com
114 # Header control h displays header when in pager
115 # I want to only see the unignored by default
116 ignore * # weed out all headers
117 unignore date from: to cc subject organization # now show me these...
119 # Thanks to many people whom have written the documents and posts that I
120 # have gotten these settings from.
121 set folder="~/Maildir"
123 # ----8<---- arrowzhang
125 set sort_aux=reverse-date-sent
127 set send_charset="utf-8"
135 set envelope_from=yes
136 set locale=en_US.UTF-8
137 set message_cachedir="~/.tmp/"
139 set sendmail="/usr/sbin/sendmail"
140 set mailcap_path= ~/.mutt/mailcap
141 source ~/.mutt/mutt_alias
142 set alias_file=~/.mutt/mutt_alias
143 set mbox="~/.mutt/rcv-mbox-`LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 date +%Y-%m`"
144 set record="~/.mutt/sent-mail-`LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 date +%Y-%m`"
148 set pager_index_lines=9
149 # set maildir_trash=yes
150 set header_cache=~/.mutt/.hcache