-
Notifications
You must be signed in to change notification settings - Fork 62
/
colors
107 lines (94 loc) · 6.19 KB
/
colors
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
# vim: filetype=muttrc
# set default
color normal default default
# main colors
color tree magenta default
color error brightred default
color message brightgreen default
color status default black
color indicator default black
# color all ML mails
color index cyan default "~u"
# uncolor certain messages
#uncolor index "~E"
#uncolor index "~P"
#uncolor index "~C @.com"
#uncolor index "~N ~u"
#uncolor index "~N !~u"
#uncolor index "~T"
#uncolor index "~D"
# and recolor them appropriately
#color index brightred default "~E"
#color index brightyellow default "~P"
#color index green default "~C @.com"
#color index red default "~N ~u" # new ML mail
#color index brightred default "~N !~u" # new non-ML mail
#color index brightgreen default "~T"
#color index white red "~D"
#color index default default "~N !~T !~F !~p !~P"
color index brightblack default "~A" # all messages
color index color166 default "~E" # expired messages
color index white default "~N" # new messages
color index white default "~O" # old messages
color index color61 default "~Q" # messages that have been replied to
color index brightblack default "~R" # read messages
color index white default "~U" # unread messages
color index white default "~U~$" # unread, unreferenced messages
color index color241 default "~v" # messages part of a collapsed thread
color index color241 default "~P" # messages from me
color index white default "~p!~F" # messages to me
color index white default "~N~p!~F" # new messages to me
color index white default "~U~p!~F" # unread messages to me
color index brightblack default "~R~p!~F" # messages to me
color index brightblack default "~F" # flagged messages
color index brightblack default "~F~p" # flagged messages to me
color index brightblack default "~N~F" # new flagged messages
color index brightblack default "~N~F~p" # new flagged messages to me
color index brightblack default "~U~F~p" # new flagged messages to me
color index color235 red "~D" # deleted messages
color index color245 default "~v~(!~N)" # collapsed thread with no unread
color index color136 default "~v~(~N)" # collapsed thread with some unread
color index color64 default "~N~v~(~N)" # collapsed thread with unread parent
# set up the headers
color header brightmagenta default "^from:"
color header green default "^to:"
color header yellow default "^cc:"
color header blue default "^date:"
color header cyan default "^subject:"
# message bodies
color attachment brightblack default
color search red brightblack
color signature cyan default
color tilde brightblack default
color hdrdefault yellow default
color bold brightyellow default
# urls
color body brightblue default "(^|<| )mailto:[^ ]+@[^ ]( |>|$)"
color body brightblue default "(^|<| )(http|https|ftp|file|telnet|news|finger)://[^ ]+( |>|$)"
# urls regex
color body brightblue 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<>\"]"
# email regex
color body brightblue 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]\\])"
color body brightblue default "(my regex 1)"
color body brightcyan default "(my regex 2)"
color body brightred default "(my regex 3|my regex 4|my regex 5)"
# smileys, the right way and the backward-ass euro way
color body brightmagenta default "(^| )+(|[<>|])[8;:](|[^ ])[)(/|DOPS]( |$)+"
color body brightmagenta default "(^| )+[)(/|DOPS](|[^ ])[8;:](|[<>|])( |$)+"
# *bold*, _underline_, and /italic/
color body brightcyan default "(^| )\\*[^ ]+\\*( |$)"
color body brightcyan default "(^| )_[^ ]+_( |$)"
color body brightcyan default "(^| )/[^ ]+/( |$)"
# quote blocks
color quoted magenta default
color quoted1 cyan default
color quoted2 green default
color quoted3 yellow default
color quoted4 brightmagenta default
color quoted5 brightgreen default
color quoted6 brightyellow default
color quoted7 brightcyan default
# PGP messages
color body brightgreen default "^gpg signature OK.*"
color body yellow default "^gpg "
color body brightred default "^gpg signature NOT OK. *"