5 # make sure that you are using mutt linked against slang, not ncurses, or
6 # suffer the consequences of weird color issues. use "mutt -v" to check this.
8 # custom body highlights -----------------------------------------------
9 # highlight my name and other personally relevant strings
10 #color body yellow default "(ethan|schoonover)"
11 # custom index highlights ----------------------------------------------
12 # messages which mention my name in the body
13 #color index yellow default "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
14 #color index J_cream brightwhite "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
15 #color index yellow cyan "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
16 #color index yellow J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
17 ## messages which are in reference to my mails
18 #color index J_magent default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
19 #color index J_magent brightwhite "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
20 #color index J_magent cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
21 #color index J_magent red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
23 # for background in 16 color terminal, valid background colors include:
24 # base03, bg, black, any of the non brights
26 # basic colors ---------------------------------------------------------
27 color normal brightyellow default
28 color error red default
29 color tilde black default
30 color message cyan default
31 color markers red white
32 color attachment white default
33 color search brightmagenta default
34 #color status J_black J_status
35 color status brightyellow black
36 color indicator brightblack yellow
37 color tree yellow default # arrow in threads
39 # basic monocolor screen
41 mono underline underline
42 mono indicator reverse
45 # index ----------------------------------------------------------------
47 #color index red default "~D(!~p|~p)" # deleted
48 #color index black default ~F # flagged
49 #color index brightred default ~= # duplicate messages
50 #color index brightgreen default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
51 #color index J_base default "~A~N!~T!~p!~Q!~F!~D" # the rest, new
52 color index red default "~A" # all messages
53 color index brightred default "~E" # expired messages
54 color index blue default "~N" # new messages
55 color index blue default "~O" # old messages
56 color index brightmagenta default "~Q" # messages that have been replied to
57 color index brightgreen default "~R" # read messages
58 color index blue default "~U" # unread messages
59 color index blue default "~U~$" # unread, unreferenced messages
60 color index brightyellow default "~v" # messages part of a collapsed thread
61 color index brightyellow default "~P" # messages from me
62 color index cyan default "~p!~F" # messages to me
63 color index cyan default "~N~p!~F" # new messages to me
64 color index cyan default "~U~p!~F" # unread messages to me
65 color index brightgreen default "~R~p!~F" # messages to me
66 color index red default "~F" # flagged messages
67 color index red default "~F~p" # flagged messages to me
68 color index red default "~N~F" # new flagged messages
69 color index red default "~N~F~p" # new flagged messages to me
70 color index red default "~U~F~p" # new flagged messages to me
71 color index black red "~D" # deleted messages
72 color index brightcyan default "~v~(!~N)" # collapsed thread with no unread
73 color index yellow default "~v~(~N)" # collapsed thread with some unread
74 color index green default "~N~v~(~N)" # collapsed thread with unread parent
75 # statusbg used to indicated flagged when foreground color shows other status
76 # for collapsed thread
77 color index red black "~v~(~F)!~N" # collapsed thread with flagged, no unread
78 color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged
79 color index green black "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
80 color index green black "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
81 color index cyan black "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
82 color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
83 #color index yellow default "~(~N)" # messages in threads with some unread
84 #color index green default "~S" # superseded messages
85 #color index red default "~T" # tagged messages
86 #color index brightred red "~=" # duplicated messages
88 # message headers ------------------------------------------------------
90 #color header brightgreen default "^"
91 color hdrdefault brightgreen default
92 color header brightyellow default "^(From)"
93 color header blue default "^(Subject)"
95 # body -----------------------------------------------------------------
97 color quoted blue default
98 color quoted1 cyan default
99 color quoted2 yellow default
100 color quoted3 red default
101 color quoted4 brightred default
103 color signature brightgreen default
104 color bold black default
105 color underline black default
106 color normal default default
108 color body brightcyan default "[;:][-o][)/(|]" # emoticons
109 color body brightcyan default "[;:][)(|]" # emoticons
110 color body brightcyan default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
111 |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
112 |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
113 color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
114 color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
118 color body red default "(BAD signature)"
119 color body cyan default "(Good signature)"
120 color body brightblack default "^gpg: Good signature .*"
121 color body brightyellow default "^gpg: "
122 color body brightyellow red "^gpg: BAD signature from.*"
123 mono body bold "^gpg: Good signature"
124 mono body bold "^gpg: BAD signature from.*"
126 # yes, an insance URL regex
127 color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
128 # and a heavy handed email regex
129 #color body J_magent default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
131 # Various smilies and the like
132 #color body brightwhite default "<[Gg]>" # <g>
133 #color body brightwhite default "<[Bb][Gg]>" # <bg>
134 #color body yellow default " [;:]-*[})>{(<|]" # :-) etc...
136 #color body blue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
137 #mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
139 #color body blue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
140 #mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
141 # /italic/ (Sometimes gets directory names)
142 #color body blue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
143 #mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
146 #color body blue default "( *[-+=#*~_]){6,}"
148 #folder-hook . "color status J_black J_status "
149 #folder-hook gmail/inbox "color status J_black yellow "
150 #folder-hook gmail/important "color status J_black yellow "