Wed, 28 Dec 2016 20:56:05 -0500
Disable separately in case they arent all present
384 | 1 | set config_charset = "utf-8" |
2 | ||
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
3 | # IMAP |
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
4 | source ~/.mutt/roomag/config |
286 | 5 | |
354 | 6 | macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/roomag/config<enter><change-folder>!<enter>' 'switch roomag' |
300
774a66f904a6
support local config and extra accts, store pwd
Meredith Howard <mhoward@roomag.org>
parents:
291
diff
changeset
|
7 | |
315 | 8 | source ~/.mutt/gpg2.rc |
300
774a66f904a6
support local config and extra accts, store pwd
Meredith Howard <mhoward@roomag.org>
parents:
291
diff
changeset
|
9 | source `F=$HOME/.mutt/local; if [ ! -s "$F" ]; then F=/dev/null;fi;echo "$F"` |
774a66f904a6
support local config and extra accts, store pwd
Meredith Howard <mhoward@roomag.org>
parents:
291
diff
changeset
|
10 | |
286 | 11 | unset imap_passive |
12 | set imap_idle = yes | |
13 | set imap_check_subscribed = yes | |
14 | set imap_keepalive = 300 | |
15 | set imap_peek = no | |
16 | set mark_old = no | |
436
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
17 | |
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
18 | set hostname = `openssl rand -hex 10` |
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
19 | set ssl_usesystemcerts = yes |
436
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
20 | set ssl_force_tls = yes |
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
21 | set ssl_use_sslv2 = no |
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
22 | set ssl_use_sslv3 = no |
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
23 | set ssl_use_tlsv1 = no |
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
24 | set ssl_use_tlsv1_1 = no |
286 | 25 | |
333
62d107d00441
add smtp_authenticators
Meredith Howard <mhoward@roomag.org>
parents:
329
diff
changeset
|
26 | set smtp_authenticators = "gssapi:login:plain" |
62d107d00441
add smtp_authenticators
Meredith Howard <mhoward@roomag.org>
parents:
329
diff
changeset
|
27 | |
286 | 28 | # Behavior |
390 | 29 | set connect_timeout = 7 |
367 | 30 | set timeout = 10 |
31 | set mail_check = 47 | |
286 | 32 | set beep = no |
33 | set beep_new = no | |
34 | set move = no | |
35 | set pager_stop = yes | |
36 | set pager_context = 2 | |
37 | set menu_scroll = yes | |
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
38 | set mailcap_path = ~/.mutt/mailcap |
286 | 39 | set assumed_charset = "utf-8:iso8859-1" |
40 | set autoedit = yes | |
436
3b52e54e5979
lock down ssl settings, hide hostname and UA
Meredith Howard <mhoward@roomag.org>
parents:
421
diff
changeset
|
41 | set user_agent = no |
286 | 42 | set edit_headers = yes |
348
d72bc8c8d6f0
use text_flowed, move mail settings to ftplugin
Meredith Howard <mhoward@roomag.org>
parents:
334
diff
changeset
|
43 | set editor = "exec vim" |
421
7e56d9610769
Disable strict threads
Meredith Howard <mhoward@roomag.org>
parents:
408
diff
changeset
|
44 | set strict_threads = no |
365
b3ab12e8a598
dont wait after urlscan, add htmlify macro
Meredith Howard <mhoward@roomag.org>
parents:
354
diff
changeset
|
45 | set wait_key = no |
286 | 46 | |
384 | 47 | set send_charset = "utf-8" |
348
d72bc8c8d6f0
use text_flowed, move mail settings to ftplugin
Meredith Howard <mhoward@roomag.org>
parents:
334
diff
changeset
|
48 | set text_flowed = yes |
386 | 49 | set mime_forward = yes |
384 | 50 | |
326 | 51 | set reverse_name = yes |
52 | set envelope_from = yes | |
53 | set fast_reply = yes | |
54 | set include = yes | |
55 | ||
302 | 56 | set header_cache = ~/.cache/mutt |
57 | set message_cachedir = ~/.cache/mutt | |
58 | ||
286 | 59 | auto_view text/html |
291 | 60 | alternative_order text/plain text/html |
286 | 61 | |
314 | 62 | bind generic \` help |
63 | bind generic / search | |
64 | bind generic ? search-reverse | |
65 | bind generic n search-next | |
66 | bind generic N search-opposite | |
67 | bind generic \Cu half-up | |
68 | bind generic \Cd half-down | |
69 | ||
354 | 70 | bind index,pager <F5> sync-mailbox |
71 | bind index,pager <Tab> previous-new-then-unread | |
72 | bind index,pager <BackTab> next-new-then-unread | |
73 | ||
314 | 74 | bind index gg first-entry |
75 | bind index G last-entry | |
286 | 76 | |
354 | 77 | # bind pager J next-unread |
78 | # bind pager K previous-unread | |
286 | 79 | |
80 | bind pager <up> previous-line | |
81 | bind pager <down> next-line | |
314 | 82 | bind pager gg top |
83 | bind pager G bottom | |
286 | 84 | |
85 | bind pager r reply | |
86 | bind pager R group-reply | |
87 | bind pager l list-reply | |
88 | ||
327 | 89 | macro index,pager \Cb "<pipe-message> urlscan<enter>" 'urlscan' |
90 | macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan' | |
91 | ||
365
b3ab12e8a598
dont wait after urlscan, add htmlify macro
Meredith Howard <mhoward@roomag.org>
parents:
354
diff
changeset
|
92 | # Turn a text/plain markdown part into text/html |
b3ab12e8a598
dont wait after urlscan, add htmlify macro
Meredith Howard <mhoward@roomag.org>
parents:
354
diff
changeset
|
93 | macro compose \eh "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n" 'htmlify' |
b3ab12e8a598
dont wait after urlscan, add htmlify macro
Meredith Howard <mhoward@roomag.org>
parents:
354
diff
changeset
|
94 | |
286 | 95 | push <first-entry> |
96 | ||
97 | # Appearance | |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
98 | set sort = reverse-threads |
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
99 | set sort_aux = last-date |
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
100 | set sort_browser = reverse-date |
286 | 101 | set status_on_top = yes |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
102 | set pager_index_lines = 7 |
350 | 103 | set wrap = 100 |
104 | set reflow_wrap = 100 | |
286 | 105 | set markers = no |
106 | ||
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
107 | set date_format = "%m-%d %H:%M" |
329 | 108 | set index_format = "%2C %Z %D %-25.25F %s" |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
109 | set status_format = " %r Mutt: %f [N:%n%?d? D:%d?%?t? *:%t?] %>- (%s/%S) %P" |
286 | 110 | |
111 | ignore * | |
408 | 112 | unignore from to cc date subject |
113 | unignore list-id posted-to | |
286 | 114 | |
408 | 115 | hdr_order from to cc date subject |
286 | 116 | |
117 | # jellybeans-ish | |
118 | color attachment color162 color233 | |
119 | color bold color183 color233 | |
120 | color hdrdefault color215 color233 | |
121 | color indicator brightwhite color234 | |
122 | color markers color215 color233 | |
123 | color message color188 color233 | |
124 | color normal color188 color233 | |
125 | color search brightgreen color233 | |
126 | color signature color222 color233 | |
127 | color status color30 color235 | |
128 | color tilde color244 color233 | |
129 | color tree color104 color233 | |
130 | # color underline brightmagenta color233 | |
131 | color error color167 color233 | |
132 | ||
133 | # Colours for items in the index | |
134 | color index color188 color233 ~A | |
135 | color index default color233 ~R | |
136 | color index color110 color233 ~U | |
137 | color index color213 color233 ~F | |
138 | color index color217 color233 ~T | |
139 | color index color126 color233 ~D | |
140 | ||
141 | # Highlights inside message body | |
142 | ||
143 | # URLs | |
144 | color body color103 color233 "https?://[^ \"\t\r\n>]+" | |
145 | color body color103 color233 "mailto:[^ \"\t\r\n>]+" | |
146 | ||
147 | # Email addresses. | |
148 | color body color103 color233 "[-a-z_0-9.%$+]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" | |
149 | ||
325
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
150 | # Nested quotes |
286 | 151 | color quoted color107 color233 |
325
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
152 | # color quoted1 color58 color233 |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
153 | # color quoted2 color244 color233 |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
154 | |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
155 | # diffs, maybe |
334 | 156 | color body color107 color233 "^[\+]+.*" |
157 | color body color167 color233 "^[\-]+.*" |