-
Notifications
You must be signed in to change notification settings - Fork 3
/
muttrc
112 lines (98 loc) · 3.94 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
# Where’s the mail? ------------------------------
set folder=~/Mail
set spoolfile=~/Mail/ampoliros/INBOX
set mbox=~/Mail/ampoliros/INBOX
set postponed=~/Mail/ampoliros/Brouillons
set record=~/Mail/ampoliros/Envoyes
set mbox_type=Maildir
# set realname=""
# set from=""
# set alternates=""
# mailboxes $MAIL
# Main options -----------------------------------
set timeout=1800
set sleep_time = 0 # be fast
set copy # save copies of sent messages
set delete # don't ask, just do
unset confirmappend # don't ask, just do!
set quit=ask-yes # ask if i want to quit
set postpone=ask-yes # save as draft? yes by default
set wait_key=no
unset mark_old
set help=no # remove the help top bar
## Directories and commands
set header_cache="~/.mutt/cache/headers"
set message_cachedir="~/.mutt/cache/bodies"
set certificate_file="~/.mutt/certs"
set tmpdir="~/.mutt/tmp"
set mailcap_path = ~/.mutt/mailcap
set print_command="muttprint"
# Regexps ----------------------------------------
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
# Index ------------------------------------------
set sort=threads
set sort_aux=last-date-received # last received email at bottom
# unset collapse_unread # don't collapse threads with unread mails
set sort_re # thread based on regex
set uncollapse_jump # don't collapse on an unread message
set index_format = "%S %D %-20.20F %?y?[%.20Y] ?%s %> %4c"
#set index_format = "%4C %Z %{%b %d} %-15.15L (%4c) %s"
# Pager ------------------------------------------
set pager_index_lines=9 # how many lines from the index to show
set pager_context=4 # no. of lines of context to give when scrolling message
set menu_scroll
set smart_wrap
unset markers # no ugly plus signs
set display_filter="t-prot -cemt --bigq -S 8 -M mutt-kz --pgp-move --pgp-short" # hides quotes that are too long, delete insanely long signatures and move gpg output bottom
## Displaying html emails
auto_view text/html
alternative_order text/plain text/enriched text/html
# Status Bar -------------------------------------
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 )?"
# Formats ----------------------------------------
set date_format = "%Y-%m-%d %a %R"
set folder_format="%2C %t %N %f %> %4s %d"
## Headers
ignore *
unignore from: to: cc: bcc: date: subject:
unhdr_order *
hdr_order Date From To Cc Bcc X-Label Message-ID Subject
# New message ------------------------------------
set editor="emacsclient -t -c -a \"\""
#set editor="vim -c 'set filetype=mail' -c 'set background=dark' -c 'norm}'"
set edit_headers # edit the headers in the email editor
set envelope_from
set sig_dashes=no
set fast_reply
set askcc=no
set fcc_attach
set reply_self # Removes me from list when replying
unset mime_forward # forward attachments as part of body
set forward_format = "[Fwd] %s" # format for subject when forwarding
set forward_decode # decode when forwarding
set mime_forward=yes
set mime_forward_rest=yes
set attribution="↪ %D, %n <%a>:" # Attribution quoted email
set reverse_name # reply as whomever it was to
set include
set forward_quote
set rfc2047_parameters=yes
# Send mail -------------------------------------
set sendmail="msmtp"
# set sendmail_wait=-1 #send in the background
# Sources ----------------------------------------
source ~/.mutt/colors/hugo.muttrc
source ~/.email/mailboxes # generated with offlineimap
source ~/.mutt/identity.muttrc
source ~/.mutt/alias.muttrc
source ~/.mutt/addressbook.muttrc
source ~/.mutt/subscribe.muttrc
source ~/.svnRepos/fsfe-internal/Howto/GPG/mutt-gpg-aliases
#source ~/.mutt/notmuch.muttrc # notmuch-mutt macros
source ~/.mutt/kz.muttrc # mutt-kz specific enhancements
source ~/.mutt/bindmac.muttrc # list of bindings and macros
source ~/.mutt/sidebar.muttrc
source ~/.mutt/gnupg.muttrc
#source ~/.mutt/private/gnupg-send-hook.muttrc