Sat, 25 Jun 2016 03:00:08 -0400
use function-parameters contrib \o/
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
1 | # IMAP |
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
2 | source ~/.mutt/roomag/config |
286 | 3 | |
320 | 4 | macro index <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
|
5 | |
315 | 6 | source ~/.mutt/gpg2.rc |
300
774a66f904a6
support local config and extra accts, store pwd
Meredith Howard <mhoward@roomag.org>
parents:
291
diff
changeset
|
7 | 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
|
8 | |
286 | 9 | unset imap_passive |
10 | set imap_idle = yes | |
11 | set imap_check_subscribed = yes | |
12 | set imap_keepalive = 300 | |
13 | set imap_peek = no | |
14 | set mark_old = no | |
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
15 | set ssl_usesystemcerts = yes |
286 | 16 | |
333
62d107d00441
add smtp_authenticators
Meredith Howard <mhoward@roomag.org>
parents:
329
diff
changeset
|
17 | set smtp_authenticators = "gssapi:login:plain" |
62d107d00441
add smtp_authenticators
Meredith Howard <mhoward@roomag.org>
parents:
329
diff
changeset
|
18 | |
286 | 19 | # Behavior |
20 | set beep = no | |
21 | set beep_new = no | |
22 | set mail_check = 120 | |
23 | set move = no | |
24 | set pager_stop = yes | |
25 | set pager_context = 2 | |
26 | set menu_scroll = yes | |
287
0e4736894e00
break out roomag config
Meredith Howard <mhoward@roomag.org>
parents:
286
diff
changeset
|
27 | set mailcap_path = ~/.mutt/mailcap |
286 | 28 | set assumed_charset = "utf-8:iso8859-1" |
29 | set autoedit = yes | |
30 | set edit_headers = yes | |
334 | 31 | set editor = "exec vim +'set tw=72 spell' +/^$ +noh ++1" |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
32 | set strict_threads = yes |
286 | 33 | |
326 | 34 | set reverse_name = yes |
35 | set envelope_from = yes | |
36 | set fast_reply = yes | |
37 | set include = yes | |
38 | ||
302 | 39 | set header_cache = ~/.cache/mutt |
40 | set message_cachedir = ~/.cache/mutt | |
41 | ||
286 | 42 | auto_view text/html |
291 | 43 | alternative_order text/plain text/html |
286 | 44 | |
314 | 45 | bind generic \` help |
46 | bind generic / search | |
47 | bind generic ? search-reverse | |
48 | bind generic n search-next | |
49 | bind generic N search-opposite | |
50 | bind generic \Cu half-up | |
51 | bind generic \Cd half-down | |
52 | ||
329 | 53 | bind index,pager <F5> sync-mailbox |
314 | 54 | bind index gg first-entry |
55 | bind index G last-entry | |
286 | 56 | |
57 | bind pager J next-unread | |
58 | bind pager K previous-unread | |
59 | ||
60 | bind pager <up> previous-line | |
61 | bind pager <down> next-line | |
314 | 62 | bind pager gg top |
63 | bind pager G bottom | |
286 | 64 | |
65 | bind pager r reply | |
66 | bind pager R group-reply | |
67 | bind pager l list-reply | |
68 | ||
327 | 69 | macro index,pager \Cb "<pipe-message> urlscan<enter>" 'urlscan' |
70 | macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan' | |
71 | ||
286 | 72 | push <first-entry> |
73 | ||
74 | # Appearance | |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
75 | set sort = reverse-threads |
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
76 | set sort_aux = last-date |
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
77 | set sort_browser = reverse-date |
286 | 78 | set status_on_top = yes |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
79 | set pager_index_lines = 7 |
286 | 80 | set wrap = -15 |
81 | set markers = no | |
82 | ||
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
83 | set date_format = "%m-%d %H:%M" |
329 | 84 | set index_format = "%2C %Z %D %-25.25F %s" |
324
d4e93a4f6c51
tweak threading and appearance
Meredith Howard <mhoward@roomag.org>
parents:
320
diff
changeset
|
85 | set status_format = " %r Mutt: %f [N:%n%?d? D:%d?%?t? *:%t?] %>- (%s/%S) %P" |
286 | 86 | |
87 | ignore * | |
88 | unignore from date subject to cc | |
89 | unignore organization organisation x-mailing-list: posted-to: | |
90 | ||
91 | hdr_order subject from to cc date | |
92 | ||
93 | # jellybeans-ish | |
94 | color attachment color162 color233 | |
95 | color bold color183 color233 | |
96 | color hdrdefault color215 color233 | |
97 | color indicator brightwhite color234 | |
98 | color markers color215 color233 | |
99 | color message color188 color233 | |
100 | color normal color188 color233 | |
101 | color search brightgreen color233 | |
102 | color signature color222 color233 | |
103 | color status color30 color235 | |
104 | color tilde color244 color233 | |
105 | color tree color104 color233 | |
106 | # color underline brightmagenta color233 | |
107 | color error color167 color233 | |
108 | ||
109 | # Colours for items in the index | |
110 | color index color188 color233 ~A | |
111 | color index default color233 ~R | |
112 | color index color110 color233 ~U | |
113 | color index color213 color233 ~F | |
114 | color index color217 color233 ~T | |
115 | color index color126 color233 ~D | |
116 | ||
117 | # Highlights inside message body | |
118 | ||
119 | # URLs | |
120 | color body color103 color233 "https?://[^ \"\t\r\n>]+" | |
121 | color body color103 color233 "mailto:[^ \"\t\r\n>]+" | |
122 | ||
123 | # Email addresses. | |
124 | color body color103 color233 "[-a-z_0-9.%$+]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" | |
125 | ||
325
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
126 | # Nested quotes |
286 | 127 | color quoted color107 color233 |
325
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
128 | # color quoted1 color58 color233 |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
129 | # color quoted2 color244 color233 |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
130 | |
6dc43d41bed1
cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents:
324
diff
changeset
|
131 | # diffs, maybe |
334 | 132 | color body color107 color233 "^[\+]+.*" |
133 | color body color167 color233 "^[\-]+.*" |