2011-02-18 07:21:39 +00:00
# vim: filetype=muttrc
#
#
# make sure that you are using mutt linked against slang, not ncurses, or
# suffer the consequences of weird color issues. use "mutt -v" to check this.
# custom body highlights -----------------------------------------------
# highlight my name and other personally relevant strings
2011-03-12 00:43:53 +00:00
#color body color136 color233 "(ethan|schoonover)"
2011-02-18 07:21:39 +00:00
# custom index highlights ----------------------------------------------
# messages which mention my name in the body
2011-03-12 00:43:53 +00:00
#color index color136 color233 "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
2011-02-18 07:21:39 +00:00
#color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
2011-03-12 00:43:53 +00:00
#color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
#color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
2011-02-18 07:21:39 +00:00
## messages which are in reference to my mails
#color index J_magent color233 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
#color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
#color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
#color index J_magent color124 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
# for background in 16 color terminal, valid background colors include:
# base03, bg, black, any of the non brights
# basic colors ---------------------------------------------------------
2011-03-12 00:43:53 +00:00
color normal color240 color233
2011-02-18 07:21:39 +00:00
color error color124 color233
color tilde color234 color233
color message color37 color233
2011-03-12 00:43:53 +00:00
color markers color124 color253
color attachment color253 color233
2011-02-18 07:21:39 +00:00
color search color61 color233
#color status J_black J_status
2011-03-12 00:43:53 +00:00
color status color240 color234
color indicator color233 color136
color tree color136 color233 # arrow in threads
2011-02-18 07:21:39 +00:00
# basic monocolor screen
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
# index ----------------------------------------------------------------
#color index color124 color233 "~D(!~p|~p)" # deleted
#color index color234 color233 ~F # flagged
2011-03-12 00:43:53 +00:00
#color index color166 color233 ~= # duplicate messages
#color index color239 color233 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
2011-02-18 07:21:39 +00:00
#color index J_base color233 "~A~N!~T!~p!~Q!~F!~D" # the rest, new
color index color124 color233 "~A" # all messages
2011-03-12 00:43:53 +00:00
color index color166 color233 "~E" # expired messages
color index color33 color233 "~N" # new messages
color index color33 color233 "~O" # old messages
2011-02-18 07:21:39 +00:00
color index color61 color233 "~Q" # messages that have been replied to
2011-03-12 00:43:53 +00:00
color index color239 color233 "~R" # read messages
color index color33 color233 "~U" # unread messages
color index color33 color233 "~U~$" # unread, unreferenced messages
color index color240 color233 "~v" # messages part of a collapsed thread
color index color240 color233 "~P" # messages from me
2011-02-18 07:21:39 +00:00
color index color37 color233 "~p!~F" # messages to me
color index color37 color233 "~N~p!~F" # new messages to me
color index color37 color233 "~U~p!~F" # unread messages to me
2011-03-12 00:43:53 +00:00
color index color239 color233 "~R~p!~F" # messages to me
2011-02-18 07:21:39 +00:00
color index color124 color233 "~F" # flagged messages
color index color124 color233 "~F~p" # flagged messages to me
color index color124 color233 "~N~F" # new flagged messages
color index color124 color233 "~N~F~p" # new flagged messages to me
color index color124 color233 "~U~F~p" # new flagged messages to me
color index color234 color124 "~D" # deleted messages
2011-03-12 00:43:53 +00:00
color index color245 color233 "~v~(!~N)" # collapsed thread with no unread
color index color136 color233 "~v~(~N)" # collapsed thread with some unread
2011-02-18 07:21:39 +00:00
color index color64 color233 "~N~v~(~N)" # collapsed thread with unread parent
# statusbg used to indicated flagged when foreground color shows other status
# for collapsed thread
color index color124 color234 "~v~(~F)!~N" # collapsed thread with flagged, no unread
2011-03-12 00:43:53 +00:00
color index color136 color234 "~v~(~F~N)" # collapsed thread with some unread & flagged
2011-02-18 07:21:39 +00:00
color index color64 color234 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
color index color64 color234 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
color index color37 color234 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
2011-03-12 00:43:53 +00:00
color index color136 color124 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
#color index color136 color233 "~(~N)" # messages in threads with some unread
2011-02-18 07:21:39 +00:00
#color index color64 color233 "~S" # superseded messages
#color index color124 color233 "~T" # tagged messages
2011-03-12 00:43:53 +00:00
#color index color166 color124 "~=" # duplicated messages
2011-02-18 07:21:39 +00:00
# message headers ------------------------------------------------------
2011-03-12 00:43:53 +00:00
#color header color239 color233 "^"
color hdrdefault color239 color233
color header color240 color233 "^(From)"
color header color33 color233 "^(Subject)"
2011-02-18 07:21:39 +00:00
# body -----------------------------------------------------------------
2011-03-12 00:43:53 +00:00
color quoted color33 color233
2011-02-18 07:21:39 +00:00
color quoted1 color37 color233
2011-03-12 00:43:53 +00:00
color quoted2 color136 color233
2011-02-18 07:21:39 +00:00
color quoted3 color124 color233
2011-03-12 00:43:53 +00:00
color quoted4 color166 color233
2011-02-18 07:21:39 +00:00
2011-03-12 00:43:53 +00:00
color signature color239 color233
2011-02-18 07:21:39 +00:00
color bold color234 color233
color underline color234 color233
2011-03-12 00:43:53 +00:00
color normal color244 color233
2011-02-18 07:21:39 +00:00
#
2011-03-12 00:43:53 +00:00
color body color245 color233 "[;:][-o][)/(|]" # emoticons
color body color245 color233 "[;:][)(|]" # emoticons
color body color245 color233 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
2011-02-18 07:21:39 +00:00
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
2011-03-12 00:43:53 +00:00
color body color245 color233 "[ ][*][^*]*[*][ ]?" # more emoticon?
color body color245 color233 "[ ]?[*][^*]*[*][ ]" # more emoticon?
2011-02-18 07:21:39 +00:00
## pgp
color body color124 color233 "(BAD signature)"
color body color37 color233 "(Good signature)"
color body color233 color233 "^gpg: Good signature .*"
2011-03-12 00:43:53 +00:00
color body color240 color233 "^gpg: "
color body color240 color124 "^gpg: BAD signature from.*"
2011-02-18 07:21:39 +00:00
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
# yes, an insance URL regex
color body color124 color233 "([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<>\"]"
# and a heavy handed email regex
#color body J_magent color233 "((@(([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]\\])"
# Various smilies and the like
#color body color230 color233 "<[Gg]>" # <g>
#color body color230 color233 "<[Bb][Gg]>" # <bg>
2011-03-12 00:43:53 +00:00
#color body color136 color233 " [;:]-*[})>{(<|]" # :-) etc...
2011-02-18 07:21:39 +00:00
# *bold*
2011-03-12 00:43:53 +00:00
#color body color33 color233 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
2011-02-18 07:21:39 +00:00
#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
# _underline_
2011-03-12 00:43:53 +00:00
#color body color33 color233 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
2011-02-18 07:21:39 +00:00
#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
# /italic/ (Sometimes gets directory names)
2011-03-12 00:43:53 +00:00
#color body color33 color233 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
2011-02-18 07:21:39 +00:00
#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
# Border lines.
2011-03-12 00:43:53 +00:00
#color body color33 color233 "( *[-+=#*~_]){6,}"
2011-02-18 07:21:39 +00:00
#folder-hook . "color status J_black J_status "
2011-03-12 00:43:53 +00:00
#folder-hook gmail/inbox "color status J_black color136 "
#folder-hook gmail/important "color status J_black color136 "
2011-02-18 07:21:39 +00:00