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