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