-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpowerline.neomuttrc
196 lines (166 loc) · 7.92 KB
/
powerline.neomuttrc
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
191
192
193
194
195
196
# ----------------------------------------------------------------------------
# Powerline theme for NeoMutt using NerdFonts
# loose fork of https://github.com/sheoak/neomutt-powerline-nerdfonts
#
# Works best with space-chalk theme
#
# color syntax is: color [field to color] [text color] [background color] #
# #
# color69 - cornflower blue
# color81 - SteelBlue1
# color156 - GreenYellow, softer neon green
# color160 - Red3 - a darker red - too dark
# color207 - MediumOrchid1 - soft magenta
# color213 - Orchid - softest magenta
# color204 - IndianRed1 like a softer pinkish red
# color214 - Orange1 - slightly light orange
# color227 - LightGoldenrod1 - slightly pale yellow
# color232 - blackest gray
# color235 - extremely dark gray
# color237 - dark gray
# color241 - Grey39 - medium gray
# color244 - Grey50 - lighter medium gray
# color255 - Grey93 - lightest gray before write
# ----------------------------------------------------------------------------
# INDEX - the main mailbox screen
# REF: https://neomutt.org/guide/reference.html#index-format
# Index format will be, in the following order:
#
# %{%d %b} sender's timezone short date format
# %Z all of the below %zc,%zs,%zt
# %zc Message crypto flags " "
# %zs Message status flags " "
# %zt Message tag flags " " and " ﴥ "
# %-16.16L Sender name or email addresss (16 characters)
# %?M?(%1M)& ? Number of hidden messages if the thread is collapsed
# %?X?&·? Number of attachments
# %s Subject of the message
# ---------------------------------------------------------------
# not sure how to make this work only only show star or delete: %?zt?%zt&·?
# ---------------------------------------------------------------
set index_format=" %{%d %b} ·%Z %-16.16L %?M?(%1M)& ? %?X?&·? %s"
# Pager format (uses index_format) will be, in the following order:
#
# %T the appropriate to_character " ﴥ "
# %n Author's real name (or address if missing)
# %zc Message crypto flags " "
# Message crypto flags
# The appropriate character from the $to_chars string
# Subject of the message
# Date field
# Filename of the original message folder (think mailbox)
# Time in Hours:Minutes
# Number of MIME attachments
# Progress indicator for the built-in pager (how much of the file has been displayed)
# ----------------------------------------------------------------------------
set pager_format="%T %n %zc%s%* %{!%d %b · %H:%M} %?X? %X ? %P "
# ---------------------------- STATUS BAR ----------------------------------- #
#
# REF: https://neomutt.org/guide/reference.html#status-format
#
# | Symbol | Description |
# | ----------------------------------------------------------------------|
# | %f | The full pathname of the current mailbox (folder) |
# | %?F? %F? | Number of flagged messages |
# | %n | Number of new messages in the mailbox (unread, unseen) |
# | %R | Number of read messages in the mailbox |
# | %?d? %d ? | Number of deleted messages |
# | %?p? %p? | Number of postponed (Draft) messages |
# | %t ?%?F? | Number of tagged messages in the mailbox |
# | %?V? %V ? | Currently active limit pattern, if any |
# | %S | Current sorting mode ($sort) e.g. date recieved |
# ------------------------------------------------------------------------
set status_format = " %f %?F? %F ? %n %R %?d? %d?%?p? %p? %?t? %t? %> %?V? \"%V\" %M ? %S "
# ----------------------- VFOLDER LINE ------------------------------------
# REF: https://neomutt.org/guide/reference.html#folder-format
# folder format will be, in the following order:
#
# "N" if mailbox has new mail, " " (space) otherwise
# Number of unread messages in the mailbox
# Number of messages in the mailbox
# Filename ("/" is appended to directory names, "@" to symbolic links and "*" to executable files)
# ----------------------------------------------------------------------------
set vfolder_format = " %N %?n?%3n& ? %8m · %f"
# ------------------ attach format -----------------------------
# REF: https://neomutt.org/guide/reference.html#attach_format
# attach format will be, in the following order:
#
# Unlink (=to delete) flag
# Deleted flag
# Graphic tree characters
# Size (see formatstrings-size)
# Major MIME type/MIME subtype
# ----------------------------------------------------------------------------
set attach_format = "%u%D %T%-75.75d %?T?%& ? %5s · %m/%M"
# not addressed to me
# to me
# group
# CC
# ﴥ Sent by me
# mailing list
set to_chars="ﴥ"
# unchanged mailbox, changed, read only, attach mode
set status_chars = " "
# mail is signed, & the signature is successfully verified
# mail is PGP encrypted
# mail is signed, but not verified
# mail contains a PGP public key?
# <space> mail has no crypto info
ifdef crypt_chars set crypt_chars = " "
# Symbols for flags
# The mail is tagged.
# The mail is flagged as important.
# The mail is marked for deletion.
# The mail has attachments marked for deletion.
# The mail has been replied to.
# <space> The mail is Old (Unread but seen).
# The mail is New (Unread but not seen).
# <space> The mail thread is Old (Unread but seen).
# <space> The mail thread is New (Unread but not seen).
# <space> The mail is read - %S expando.
# <space> The mail is read - %Z expando.
set flag_chars = " "
set hidden_tags = "unread,draft,flagged,passed,replied,attachment,signed,encrypted"
tag-transforms "replied" "↻ " \
"encrytpted" "" \
"signed" "" \
"attachment" "" \
# The formats must start with 'G' and the entire sequence is case sensitive.
tag-formats "replied" "GR" \
"encrypted" "GE" \
"signed" "GS" \
"attachment" "GA" \
# -------------------------------------------------------------------------- #
# ------------ coloring the status bar to look like powerline -------------- #
# -------------------------------------------------------------------------- #
# default
color status color239 color235
# this is for the mailbox, first segment
color status color237 color69 '( [^ ]+ )' 1
# flagged/tagged messages
color status yellow color241 '\s* [0-9]+ \s*'
# unread messages
color status color156 color240 '\s* [0-9]+ \s*'
# read messages
color status color75 color239 '\s* [0-9]+ \s*'
# deleted messages
color status color204 color238 '\s* [0-9]+\s*'
# postponed messages (drafts)
color status color213 color238 '\s* [0-9]+ \s*'
# dividers for left side
color status color69 color241 '( ).*' 1
color status color238 color235 ' '
# -------------------- Right side of status bar ----------------------
# divider for the left edge of right side if search is being done
color status color239 color235 ''
# Sorting method, e.g. sorted by date (oldest to newest)
color status color214 color239 '( [^ ]+ )' 1
# the ending quote for the search term is white
color status color251 color241 '(" )[0-9]+' 1
# number of how many times we found the search term is green
color status green color241 '([0-9]+ ) ' 1
# number of how many times we found the search term is green
color status color251 color241 '( )' 1
# number of how many times we found the search term is green
color status color213 color241 '("[^ ]+" )' 1
# ------------------ PAGER COLORFORMATTING -------------------