-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
166 lines (145 loc) · 5.67 KB
/
muttrc
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
set hdrs
set ssl_starttls=yes
set ssl_force_tls=yes
set alias_file=~/.mutt/aliases
set sort_alias= alias
set reverse_alias = yes
source $alias_file
set folder="imaps://[email protected]"
set spoolfile="imaps://[email protected]/"
set smtp_url="smtp://[email protected]:587"
set from="[email protected]"
set imap_user="[email protected]"
source "gpg -d ~/.mutt/passwords.gpg |"
set record="=Sent"
set postponed="=Drafts"
set use_from=yes
set realname="Daniel Smolkin"
#some usefull stuff
set copy=yes
set record=+Sent
set postponed=+Drafts
set postpone=yes
set sort = date-received
set sort_aux= reverse-threads
set include #include the message in replies
#other useful bindings
bind index 'F' imap-fetch-mail
bind index "l" group-reply
bind pager "l" group-reply
set editor = "vim"
#making things more vim like
bind pager "G" bottom
bind pager "g" top
bind index "g" first-entry
bind index "G" last-entry
bind pager "j" next-line
bind pager "k" previous-line
set ispell = 'aspell --mode=email --email-margin=0 --run-together --check'
# Colors, from davep.org
# Default colour definitions
color hdrdefault black cyan
color quoted red white
color signature brightblack white
color indicator brightwhite red
color attachment black green
color error red white
color message blue white
color search brightwhite magenta
color status brightyellow blue
color tree red white
color normal blue white
color tilde green white
color bold brightyellow white
color markers red white
# Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
# Colours for items in the reader
color header brightwhite cyan "^(From|Subject):"
color header red cyan "^X-Junked-Because: "
color header red cyan "^X-Virus-hagbard: .* FOUND"
mono header bold "^(From|Subject|X-Junked-Because|X-Virus-hagbard):"
# Colours for items in the index
color index brightblue white ~N
color index brightgreen white "~N (~x hagbard\.davep\.org | ~h \"^In-[Rr]eply-[Tt]o: .*hagbard\.davep\.org\")"
color index red white ~F
color index black green ~T
color index brightwhite black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
# Highlights inside the body of a message.
# URLs
color body brightblue white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body brightblue white "news:[^ \">\t\r\n]*"
mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "news:[^ \">\t\r\n]*"
# email addresses
color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# Various smilies and the like
color body brightgreen white "<[Gg]>" # <g>
color body brightgreen white "<[Bb][Gg]>" # <bg>
color body brightgreen white " [;:]-*[)>(<|]" # :-) etc...
color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text.
color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text.
#Colors
## general-doesn't-fit stuff
# color normal color188 color237
# color error color115 color236
# color markers color142 color238
# color tilde color108 color237
# color status color144 color234
#
## # index stuff
# color indicator color108 color236
# color tree color109 color237
# color index color188 color237 ~A
# color index color188 color237 ~N
# color index color188 color237 ~O
# color index color174 color237 ~F
# color index color174 color237 ~D
#
## # header stuff
# color hdrdefault color223 color237
# color header color223 color237 "^Subject"
##
## # gpg stuff
# color body color188 color237 "^gpg: Good signature.*"
# color body color115 color236 "^gpg: BAD signature.*"
# color body color174 color237 "^gpg: Can't check signature.*"
# color body color174 color237 "^-----BEGIN PGP SIGNED MESSAGE-----"
# color body color174 color237 "^-----BEGIN PGP SIGNATURE-----"
# color body color174 color237 "^-----END PGP SIGNED MESSAGE-----"
# color body color174 color237 "^-----END PGP SIGNATURE-----"
# color body color174 color237 "^Version: GnuPG.*"
# color body color174 color237 "^Comment: .*"
##
## # url, email and web stuff
# color body color174 color237 "(finger|ftp|http|https|news|telnet)://[^ >]*"
# color body color174 color237 "<URL:[^ ]*>"
# color body color174 color237 "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
# color body color174 color237 "mailto: *[^ ]+\(\\i?subject=[^ ]+\)?"
# color body color174 color237 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
#
## # misc body stuff
# color attachment color174 color237 #Add-ons to the message
# color signature color223 color237
#
# # quote levels
# color quoted color108 color237
# color quoted1 color116 color237
# color quoted2 color247 color237
# color quoted3 color108 color237
# color quoted4 color116 color237
# color quoted5 color247 color237
# color quoted6 color108 color237
# color quoted7 color116 color237
# color quoted8 color247 color237
# color quoted9 color108 color237