.muttrc

Sun, 23 Oct 2016 00:28:50 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 23 Oct 2016 00:28:50 -0400
changeset 422
7b3ba9962a9d
parent 421
7e56d9610769
child 436
3b52e54e5979
permissions
-rw-r--r--

match gvim here too

384
69fa23fde352 more utf-8
Meredith Howard <mhoward@roomag.org>
parents: 367
diff changeset
1 set config_charset = "utf-8"
69fa23fde352 more utf-8
Meredith Howard <mhoward@roomag.org>
parents: 367
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
354
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
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
4f39f5f13418 Add gpg2
Meredith Howard <mhoward@roomag.org>
parents: 314
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 unset imap_passive
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 set imap_idle = yes
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 set imap_check_subscribed = yes
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 set imap_keepalive = 300
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 set imap_peek = no
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 # Behavior
390
9128f0b9b653 shorten timeout
Meredith Howard <mhoward@roomag.org>
parents: 386
diff changeset
22 set connect_timeout = 7
367
a9ef42db273e adjust timeouts
Meredith Howard <mhoward@roomag.org>
parents: 365
diff changeset
23 set timeout = 10
a9ef42db273e adjust timeouts
Meredith Howard <mhoward@roomag.org>
parents: 365
diff changeset
24 set mail_check = 47
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 set beep = no
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 set beep_new = no
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 set move = no
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 set pager_stop = yes
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29 set pager_context = 2
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 set assumed_charset = "utf-8:iso8859-1"
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 set autoedit = yes
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38
384
69fa23fde352 more utf-8
Meredith Howard <mhoward@roomag.org>
parents: 367
diff changeset
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
203cb29dbc67 set mime_forward
Meredith Howard <mhoward@roomag.org>
parents: 384
diff changeset
41 set mime_forward = yes
384
69fa23fde352 more utf-8
Meredith Howard <mhoward@roomag.org>
parents: 367
diff changeset
42
326
953e3a78a89a config tweaking
Meredith Howard <mhoward@roomag.org>
parents: 325
diff changeset
43 set reverse_name = yes
953e3a78a89a config tweaking
Meredith Howard <mhoward@roomag.org>
parents: 325
diff changeset
44 set envelope_from = yes
953e3a78a89a config tweaking
Meredith Howard <mhoward@roomag.org>
parents: 325
diff changeset
45 set fast_reply = yes
953e3a78a89a config tweaking
Meredith Howard <mhoward@roomag.org>
parents: 325
diff changeset
46 set include = yes
953e3a78a89a config tweaking
Meredith Howard <mhoward@roomag.org>
parents: 325
diff changeset
47
302
3a25d9b124bc enable caches
Meredith Howard <mhoward@roomag.org>
parents: 301
diff changeset
48 set header_cache = ~/.cache/mutt
3a25d9b124bc enable caches
Meredith Howard <mhoward@roomag.org>
parents: 301
diff changeset
49 set message_cachedir = ~/.cache/mutt
3a25d9b124bc enable caches
Meredith Howard <mhoward@roomag.org>
parents: 301
diff changeset
50
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51 auto_view text/html
291
c9832253606a prefer text/plain
Meredith Howard <mhoward@roomag.org>
parents: 287
diff changeset
52 alternative_order text/plain text/html
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
53
314
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
54 bind generic \` help
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
55 bind generic / search
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
56 bind generic ? search-reverse
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
57 bind generic n search-next
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
58 bind generic N search-opposite
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
59 bind generic \Cu half-up
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
60 bind generic \Cd half-down
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
61
354
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
62 bind index,pager <F5> sync-mailbox
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
63 bind index,pager <Tab> previous-new-then-unread
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
64 bind index,pager <BackTab> next-new-then-unread
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
65
314
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
66 bind index gg first-entry
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
67 bind index G last-entry
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
68
354
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
69 # bind pager J next-unread
c7161b3ba76f Fix up navigation
Meredith Howard <mhoward@roomag.org>
parents: 350
diff changeset
70 # bind pager K previous-unread
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
71
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
72 bind pager <up> previous-line
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
73 bind pager <down> next-line
314
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
74 bind pager gg top
1028fece0d41 binding fixup
Meredith Howard <mhoward@roomag.org>
parents: 313
diff changeset
75 bind pager G bottom
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
76
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
77 bind pager r reply
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
78 bind pager R group-reply
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
79 bind pager l list-reply
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
80
327
c11c41360b9c Config for urlscan
Meredith Howard <mhoward@roomag.org>
parents: 326
diff changeset
81 macro index,pager \Cb "<pipe-message> urlscan<enter>" 'urlscan'
c11c41360b9c Config for urlscan
Meredith Howard <mhoward@roomag.org>
parents: 326
diff changeset
82 macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan'
c11c41360b9c Config for urlscan
Meredith Howard <mhoward@roomag.org>
parents: 326
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
87 push <first-entry>
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
88
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
31081755a2be fix wrap at 100
Meredith Howard <mhoward@roomag.org>
parents: 349
diff changeset
95 set wrap = 100
31081755a2be fix wrap at 100
Meredith Howard <mhoward@roomag.org>
parents: 349
diff changeset
96 set reflow_wrap = 100
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
97 set markers = no
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
Meredith Howard <mhoward@roomag.org>
parents: 327
diff changeset
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
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
102
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
103 ignore *
408
8a55b99cb9a8 tweak header view
Meredith Howard <mhoward@roomag.org>
parents: 390
diff changeset
104 unignore from to cc date subject
8a55b99cb9a8 tweak header view
Meredith Howard <mhoward@roomag.org>
parents: 390
diff changeset
105 unignore list-id posted-to
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
106
408
8a55b99cb9a8 tweak header view
Meredith Howard <mhoward@roomag.org>
parents: 390
diff changeset
107 hdr_order from to cc date subject
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
108
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
109 # jellybeans-ish
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
110 color attachment color162 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
111 color bold color183 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
112 color hdrdefault color215 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
113 color indicator brightwhite color234
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
114 color markers color215 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
115 color message color188 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
116 color normal color188 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
117 color search brightgreen color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
118 color signature color222 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
119 color status color30 color235
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
120 color tilde color244 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
121 color tree color104 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
122 # color underline brightmagenta color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
123 color error color167 color233
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
124
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
125 # Colours for items in the index
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
126 color index color188 color233 ~A
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
127 color index default color233 ~R
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
128 color index color110 color233 ~U
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
129 color index color213 color233 ~F
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
130 color index color217 color233 ~T
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
131 color index color126 color233 ~D
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
132
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
133 # Highlights inside message body
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
134
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
135 # URLs
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
136 color body color103 color233 "https?://[^ \"\t\r\n>]+"
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
137 color body color103 color233 "mailto:[^ \"\t\r\n>]+"
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
138
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
139 # Email addresses.
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
140 color body color103 color233 "[-a-z_0-9.%$+]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
141
325
6dc43d41bed1 cheaply color diffs, disable nested quote colors
Meredith Howard <mhoward@roomag.org>
parents: 324
diff changeset
142 # Nested quotes
286
8895a4042b14 Add muttrc and mailcap
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
0c53623b7dee mutt tweaks
Meredith Howard <mhoward@roomag.org>
parents: 333
diff changeset
148 color body color107 color233 "^[\+]+.*"
0c53623b7dee mutt tweaks
Meredith Howard <mhoward@roomag.org>
parents: 333
diff changeset
149 color body color167 color233 "^[\-]+.*"

mercurial