-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.muttrc
135 lines (109 loc) · 4.26 KB
/
.muttrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
set sendmail="/usr/bin/msmtp"
set folder = ~/Mail/[email protected]
set postponed = "+Drafts"
set record = "+Sent"
set spoolfile = "+INBOX"
set realname = "Wil Clouser"
set from = "[email protected]"
set crypt_autosign=no
set crypt_autoencrypt=no
set crypt_replysign=yes
set crypt_replysignencrypted=yes
set crypt_verify_sig=yes
set pgp_sign_as=0172457B
# 4 hours
set pgp_timeout=14400
#source ~/.mutt/mozilla.local
# ------------------------------------------------------------
auto_view application/pdf
auto_view text/html
alternative_order text/plain text/enriched text/html
set abort_nosubject = yes # abort message if no subject
set confirmappend = no # don't ask when I archive something
set delete = yes # delete messages when quitting mutt
set edit_headers = yes # let me edit the headers
set editor = "vim -c 'set spell spelllang=en'"
set envelope_from = yes # tells msmtp which from to use
set fast_reply = yes # don't prompt for receipient/subject on replies
set forward_format = "Fwd: %s"
set forward_quote = yes # indent fwd'd messages
set include = yes # include message in reply
set menu_scroll = yes # scroll 1 line, not pages
set pager_index_lines=0 # no pager at the top
set pager_context=0
set pager_stop # don't advance messages automatically
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set reply_to = yes
set reverse_name = yes
set send_charset = "utf-8"
set simple_search = "~f %s | ~C %s | ~s %s" # default search in To, Cc and Subject
set sleep_time = 0 # Don't pause between mailbox switching
set use_from = yes
unset mark_old # no need to mark mail old. read/unread is fine.
unset markers # don't show + when wrapping lines
unset mime_forward # forward messages inline
source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
# Status Line
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
# # threading preferences, sort by threads
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set sort=threads
set sort_aux = reverse-last-date-received
set sort_re # thread based on regex
set strict_threads=yes
set uncollapse_jump # don't collapse on an unread message
unset collapse_unread # don't collapse threads with unread mails
bind browser gg top-page
bind browser G bottom-page
bind browser \cb previous-page
bind browser \cf next-page
bind index \cb previous-page
bind index \cf next-page
bind index gg first-entry
bind index G last-entry
bind index R group-reply
bind index <tab> sync-mailbox
bind index <space> collapse-thread
bind attach <return> view-mailcap
#bind pager j next-line
#bind pager k previous-line
bind pager gg top
bind pager G bottom
bind pager \ce next-line
bind pager \cy previous-line
bind pager R group-reply
macro index "\ea" "<change-folder>=Archives.2013<enter>" # List Archive
macro index "\ei" "<change-folder>=INBOX<enter>" # List Inbox
macro index "\es" "<change-folder>=Sent<enter>" # List Sent
macro index a "s+Archives.2014<enter>" # move message to archive
set sidebar_shortpath = yes
set sidebar_width = 24
#set sidebar_format = "%B%* (%N)"
color sidebar_new yellow default
bind index \cp sidebar-prev
bind index \cn sidebar-next
bind index \co sidebar-open
bind pager \cp sidebar-prev
bind pager \cn sidebar-next
bind pager \co sidebar-open
unhdr_order *
hdr_order From: To: Cc: Bcc: Date: Subject:
# Address Book
set query_command="abook --datafile='Dropbox/addressbook' --mutt-query '%s'"
#macro index A "|abook --datafile='Dropbox/addressbook' --add-email-quiet\n" 'add sender to abook'
#macro pager A "|abook --datafile='Dropbox/addressbook' --add-email-quiet\n" 'add sender to abook'
# toggle alternative_order
macro pager ,@aoh= "\
<enter-command> unalternative_order *; \
alternative_order text/enriched text/html text/plain text; \
macro pager A ,@aot= 'toggle alternative order'<enter>\
<exit><display-message>"
#
macro pager ,@aot= "\
<enter-command> unalternative_order *; \
alternative_order text/enriched text/plain text/html text; \
macro pager A ,@aoh= 'toggle alternative order'<enter>\
<exit><display-message>"
#
macro pager A ,@aot= "toggle alternative order"