.muttrc

Fri, 27 May 2016 20:09:03 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 May 2016 20:09:03 -0400
changeset 326
953e3a78a89a
parent 325
6dc43d41bed1
child 327
c11c41360b9c
permissions
-rw-r--r--

config tweaking

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

mercurial