]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/mail/files/mutt/colors.mutt
All of the solarized all of the time
[max/saltfiles.git] / states / mail / files / mutt / colors.mutt
1 # vim: filetype=muttrc
2
3 #
4 #
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.
7
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         brightblack     "~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        brightblack     "~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"
22
23 # for background in 16 color terminal, valid background colors include:
24 # base03, bg, black, any of the non brights
25
26 # basic colors ---------------------------------------------------------
27 color normal        brightblue      default         
28 color error         red             default         
29 color tilde         white           default         
30 color message       cyan            default         
31 color markers       red             black           
32 color attachment    black           default         
33 color search        brightmagenta   default         
34 #color status        J_black         J_status        
35 color status        brightblue      white           
36 color indicator     brightwhite     yellow          
37 color tree          yellow          default                                     # arrow in threads
38
39 # basic monocolor screen
40 mono  bold          bold
41 mono  underline     underline
42 mono  indicator     reverse
43 mono  error         bold
44
45 # index ----------------------------------------------------------------
46
47 #color index         red             default         "~D(!~p|~p)"               # deleted
48 #color index         white           default         ~F                         # flagged
49 #color index         brightred       default         ~=                         # duplicate messages
50 #color index         brightcyan      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         brightcyan      default         "~R"                        # read messages
58 color index         blue            default         "~U"                        # unread messages
59 color index         blue            default         "~U~$"                      # unread, unreferenced messages
60 color index         brightblue      default         "~v"                        # messages part of a collapsed thread
61 color index         brightblue      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         brightcyan      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         white           red             "~D"                        # deleted messages
72 color index         brightgreen     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             white           "~v~(~F)!~N"                # collapsed thread with flagged, no unread
78 color index         yellow          white           "~v~(~F~N)"                 # collapsed thread with some unread & flagged
79 color index         green           white           "~N~v~(~F~N)"               # collapsed thread with unread parent & flagged
80 color index         green           white           "~N~v~(~F)"                 # collapsed thread with unread parent, no unread inside, but some flagged
81 color index         cyan            white           "~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
87
88 # message headers ------------------------------------------------------
89
90 #color header        brightcyan      default         "^"
91 color hdrdefault    brightcyan      default         
92 color header        brightblue      default         "^(From)"
93 color header        blue            default         "^(Subject)"
94
95 # body -----------------------------------------------------------------
96
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         
102
103 color signature     brightcyan      default         
104 color bold          white           default         
105 color underline     white           default         
106 color normal        default         default         
107 #
108 color body          brightgreen     default         "[;:][-o][)/(|]"    # emoticons
109 color body          brightgreen     default         "[;:][)(|]"         # emoticons
110 color body          brightgreen     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          brightgreen     default         "[ ][*][^*]*[*][ ]?" # more emoticon?
114 color body          brightgreen     default         "[ ]?[*][^*]*[*][ ]" # more emoticon?
115
116 ## pgp
117
118 color body          red             default         "(BAD signature)"
119 color body          cyan            default         "(Good signature)"
120 color body          brightwhite     default         "^gpg: Good signature .*"
121 color body          brightblue      default         "^gpg: "
122 color body          brightblue      red             "^gpg: BAD signature from.*"
123 mono  body          bold                            "^gpg: Good signature"
124 mono  body          bold                            "^gpg: BAD signature from.*"
125
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]\\])"
130
131 # Various smilies and the like
132 #color body          brightblack     default         "<[Gg]>"                            # <g>
133 #color body          brightblack     default         "<[Bb][Gg]>"                        # <bg>
134 #color body          yellow          default         " [;:]-*[})>{(<|]"                  # :-) etc...
135 # *bold*
136 #color body          blue            default         "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
137 #mono  body          bold                            "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
138 # _underline_
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:]]|$)"
144
145 # Border lines.
146 #color body          blue            default         "( *[-+=#*~_]){6,}"
147
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          "
151