-
Notifications
You must be signed in to change notification settings - Fork 2
/
muttcol
190 lines (168 loc) · 9.54 KB
/
muttcol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# vim: filetype=neomuttrc
# Default index colours, coloured by age:
color index blue default ~r>1d
color index color23 default ~r>14d
color index cyan default ~r<1d
color index_author green default '.*'
color index_subject white default '.*'
color index_date white default
color index_subject blue default "~s \"(Re|RE|re|antw): .*\""
color index_subject magenta default "~l"
color index_subject color242 default "~f \"(servicedesk@knaw.nl|(communicatie|secretariaat)@bb.huc.knaw.nl|Microsoft365@ru.nl|c.spijkman@let.ru.nl|cls@let.ru.nl|builds.sr.ht|dependabot|invitations@|notifications@|no-?_?reply@|mailer@|@googlegroups.com)\"" #grey
color index_subject color242 default "~t \"(@knaw.local|lst-pi-group@googlegroups.com)\"" #grey
color index_subject magenta default "~f \"(notifications@github.com|issues-reply@bitbucket.org|outgoing@sr.ht|.*@basecamp.com|gitlab@.*|.*@russianwithmax.com|servicedesk@socialhistoryservices.org)\""
#color index_subject magenta default "~h List-Unsubscribe" #slows things down too much
# For new mail:
color index brightblue black "~N"
color index_author yellow black "~N"
color index_subject brightwhite black "~N"
color index_subject brightred black "~v~(~F)" #flagged messages in collapsed thread
color index_subject brightwhite black "~v~(~N)" #new messages in collapsed thread
color index_subject brightred black "~F" #flagged messages
color index_subject color204 default "~s PATCH"
#semi-spam:
color index_author color242 default "~f \"(servicedesk@knaw.nl|(communicatie|secretariaat)@bb.huc.knaw.nl|Microsoft365@ru.nl|c.spijkman@let.ru.nl|cls@let.ru.nl|builds.sr.ht|dependabot|invitations@|notifications@[^github.com]|no-?_?reply@|mailer@)\"" #grey
color index_subject color242 default "~s \"(automatisch antwoord|automatic reply)\"" #grey
color index_subject color88 default "~s \"(spam|loan|sale)\"" #darkred
#color index_subject color88 default "~h \"Tag:.*(killed|spam)\""
color index_author brightblack color220 "~T"
color index_flags green default "~(~Q)"
color index_subject green default "~Q"
color index_subject green default "~P"
color index_author blue default "~P"
color index_tag magenta default "work"
color index_tag cyan default "unilang"
color index_tag blue default "github"
color index_tag black brightyellow "todo"
color index_tag brightwhite brightred "reply"
color index_tag blue default "not"
color index_tag black white "lowpriority"
color index_tag black green "interesting"
# Header colors:
color header cyan default ".*"
color header brightmagenta default "^(From)"
color header brightyellow default "^(Subject)"
color header brightcyan default "^(To)"
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
color normal default default
color indicator brightyellow default
color sidebar_highlight brightyellow default
color sidebar_divider brightblack black
color sidebar_new green black
color normal brightyellow default
color error red default
color tilde black default
color message cyan default
color markers red white
color attachment white default
color search brightmagenta default
color status white black
color hdrdefault brightgreen default
color quoted green default
color quoted1 blue default
color quoted2 cyan default
color quoted3 yellow default
color quoted4 red default
color quoted5 brightred default
color signature brightgreen default
color bold black default
color underline black default
color normal default default
color status blue default "work"
color status magenta default "sxmo"
color status cyan default "unilang"
color status yellow default "personal"
color status yellow default "familie"
color status blue default "github"
color status black brightyellow "todo"
color status brightwhite brightred "reply"
color status brightwhite blue "waiting"
color status black white "lowpriority"
color status black green "interesting"
color status brightblue default "INBOX"
color status brightred default "QUEUE"
color status brightgreen default "ALL"
#
# Color if the attachment is autoviewed
color attach_headers brightgreen default "Autoview"
# Color only the brackets around the headers
color attach_headers brightblack default "^\\[--"
color attach_headers brightblack default "--]$"
# Color the mime type and the size
color attach_headers green default "Type: [a-z]+/[a-z0-9\-]+"
color attach_headers green default "Size: [0-9\.]+[KM]"
# Color GPGME signature checks
color attach_headers brightgreen default "Good signature from.*"
color attach_headers brightred default "Bad signature from.*"
color attach_headers brightred default "BAD signature from.*"
color attach_headers brightred default "Note: This key has expired!"
color attach_headers brightmagenta default "Problem signature from.*"
color attach_headers brightmagenta default "WARNING: This key is not certified with a trusted signature!"
color attach_headers brightmagenta default " There is no indication that the signature belongs to the owner."
color attach_headers brightmagenta default "can't handle these multiple signatures"
color attach_headers brightmagenta default "signature verification suppressed"
color attach_headers brightmagenta default "invalid node with packet of type"
color body yellow default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
color body yellow default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
color body green default "\`[^\`]*\`" # Green text between ` and `
color body brightwhite black "\\*\\*[^\\*]+\\*\\*" # Bold
color body brightyellow default "^# \.*" # Headings
color body brightcyan default "^## \.*" # Subheadings
color body brightblue default "^### \.*" # Subsubheadings
color body brightwhite default "^(\t| )*(-|\\*) \.*" # List items
color body brightyellow default "[;:][-o][)/(|]" # emoticons
color body brightyellow default "[;:][)(|]" # emoticons
color body brightcyan default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
color body red default "(BAD signature)"
color body cyan default "(Good signature)"
color body brightblack default "^gpg: Good signature .*"
color body brightyellow default "^gpg: "
color body brightyellow red "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
color body yellow 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<>\"]"
#
# pseudo-XML syntax highlighting
color body brightblue default "</?[a-z0-9+-:]+>?"
color body magenta default "[a-z0-9+-:]+=\"[^\"]*\""
color body brightblue default "/>"
#highlight text between square brackets
color body blue default "\[[a-z0-9+-_: ]+\]"
# Patch syntax highlighting
color body brightyellow default "^(diff)[[:space:]].*"
color body green default "^[\+].*"
color body red default "^[\-].*"
color body cyan default "^\-\-\-.*"
color body cyan default "^[\+][\+][\+].*"
color body brightblue default "^@@.*"
color body brightcyan default "^(Signed-off-by).*"
color body brightwhite default "^(Cc)"
color body brightblue default ".*files? changed(.*insertions?|.*deletions?).*$"
color body green default "\|.*[0-9]+ [\+]+"
color body red default "\|.*[0-9]+ -+"
#Quoted headers
color body cyan default "^(From|Van|To|Aan|An|Para|Subject|Cc|CC|Sent|Verzonden|Onderwerp|Asunto):.*"
#Terminal
color body blue default "^\\$ .*"
#Other kind of lists
color body magenta default "^(Topic|Time|Meeting ID|Passcode):.*"
#Status messages
color body black default "^©.*"
color body green default "^.*✓.*"
color body red default "^.*✗.*"
color body red default "^Status:.*(Failed|Broken|Failing|Errored).*"
color body green default "^Status:.*(Fixed|OK|Success).*"
color body green default "^Ticket resolved:.*fixed"
color body brightyellow default "@(Maarten|Proycon|proycon)"
color body cyan default "^On.*wrote:$"
color body cyan default "^Op.*schreef.*:$"
color body cyan default "^@.*pushed.*[0-9]+ commit.*$"
color body cyan default "^Merged #[0-9]+ into.*$"
color body cyan default "^Closed #[0-9]+.*$"