-
Notifications
You must be signed in to change notification settings - Fork 51
/
README.index-color
82 lines (59 loc) · 2.36 KB
/
README.index-color
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
Index Color Patch
=================
Custom rules for theming the email index
Patch
-----
To check if Mutt supports "Index Color", look for "patch-index-color" in
the mutt version.
Dependencies
* mutt-1.5.24
* status-color patch
Introduction
------------
The "index-color" patch allows you to specify colors for individual parts
of the email index. e.g. Subject, Author, Flags.
First choose which part of the index you'd like to color. Then, if needed,
pick a pattern to match.
Note: The pattern does not have to refer to the object you wish to color.
e.g.
color index_author red default "~smutt"
The author appears red when the subject (~s) contains "mutt".
Colors
------
All the colors default to 'default', i.e. unset.
The index objects can be themed using the 'color' command. Some objects
require a pattern.
color index-object foreground background
color index-object foreground background pattern
Index Colors
| Object | Pattern | Highlights |
|-------------------|---------|----------------------------------------------|
| 'index' | yes | Entire index line |
| 'index_author' | yes | Author name, %A %a %F %L %n |
| 'index_collapsed' | no | Number of messages in a collapsed thread, %M |
| 'index_date' | no | Date field |
| 'index_flags' | yes | Message flags, %S %Z |
| 'index_label' | no | Message label, %y %Y |
| 'index_number' | no | Message number, %C |
| 'index_size' | no | Message size, %c %l |
| 'index_subject' | yes | Subject, %s |
See Also
--------
* NeoMutt project
* Regular Expressions
* Patterns
* $index_format
* Color command
* Status-Color patch
* Keywords patch
Known Bugs
----------
None
Credits
-------
* Christian Aichinger <[email protected]>
* Christoph "Myon" Berg <[email protected]>
* Elimar Riesebieter <[email protected]>
* Eric Davis <[email protected]>
* Vladimir Marek <[email protected]>
* Richard Russon <[email protected]>