-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
161 lines (130 loc) · 3.66 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Notice
# Neomutt unlike Mutt is case-sensitive
# So case confusion in imap_user and smtp_url will not log you in
# Receive options
# set imap_user
# set imap_pass
# set imap_pipeline_depth
# set folder
# Send options
# set smtp_url
# set smtp_pass
# set realname
# set from
# Accounts
source ~/.mutt/accounts/icloud
# Solarized colorscheme
source $HOME/.mutt/mutt-colors-solarized-dark-256.muttrc
# ---
# Vim key bindings
# Sidebar
bind index,pager J sidebar-next
bind index,pager K sidebar-prev
bind index,pager L sidebar-open
# Completion
bind editor <Tab> complete-query
# Moving around
bind attach,browser,index gg first-entry
bind attach,browser,index G last-entry
bind pager gg top
bind pager G bottom
bind pager k previous-line
bind pager j next-line
# Scrolling
bind attach,browser,pager,index \CF next-page
bind attach,browser,pager,index \CB previous-page
bind attach,browser,pager,index \Cu half-up
bind attach,browser,pager,index \Cd half-down
bind browser,pager \Ce next-line
bind browser,pager \Cy previous-line
bind index \Ce next-line
bind index \Cy previous-line
bind pager,index dd delete-message
# Mail & Reply
bind index \Cm list-reply # Doesn't work currently
# Threads
bind browser,pager,index N search-opposite
bind pager,index dT delete-thread
bind pager,index dt delete-subthread
bind pager,index gt next-thread
bind pager,index gT previous-thread
bind index za collapse-thread
bind index zA collapse-all # Missing :folddisable/foldenable
# ---
# Setting files
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache"
set certificate_file = "~/.mutt/certificates"
# ~/.signature
set signature="~/.mutt/signature"
# Setting mailboxes
set spoolfile = +Inbox
set postponed = +Drafts
set record = +Sent
mailboxes =Inbox =Sent =Trash
# Setting security
set ssl_force_tls = yes
set ssl_starttls = yes
# Other settings
set send_charset = utf-8
# Show sidebar on the left
set sidebar_visible
set mail_check_stats
set editor = "vim -p"
# Terminal bell on new mails
set beep_new
# Check open mailboxes for new mails
set check_new
# In seconds
set mail_check=0
set imap_keepalive = 300
# set arrow_cursor
set menu_scroll=yes
set sidebar_width=30
set envelope_from
# Overrides system name
set hostname="Hostname"
# Cloak system name
set hidden_host
set fast_reply
set include=yes
set allow_8bit
set edit_headers
set sort=threads
# Show recents on top, and also sort by score
set sort_aux=reverse-score
set sort_re
# Pad empty lines like in Vim
set tilde
# store aliases created by create-alias command
set alias_file="$HOME/.mutt/alias"
# Don't collapse unread threads
unset collapse_unread
set fcc_attach
## Connect mutt to 'abook' address book,
## so when you are in the To: field you can
## type something then press Tab to get results.
set query_command = "abook --mutt-query '%s'"
macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
# Don't ask to delete
set delete
# Ask to quit
# set quit = ask-yes
# Don't ask to quit
set quit
unset confirmappend
# Plus signs
unset markers
# Dashes before signature
set sig_dashes
# Save sent messages
set copy = yes
# Reply back to sender
set reverse_name
# Format of quoting header
set attribution = "On %d, %n wrote:"
# No smart wrapping
set nosmart_wrap
# No wrap markers
set nomarkers