]> Sergey Matveev's repositories - dotfiles.git/blob - mutt/.mutt/muttrc
Mutt is not shell, supports spaces around assignment
[dotfiles.git] / mutt / .mutt / muttrc
1 set folder = "~/mail"
2 set mbox_type = maildir
3 # set mbox_type = mbox
4 set spoolfile = =mbox
5 set record = =sent-`date "+%y-%m"`
6 set postponed = =postponed
7 set certificate_file = ~/.mutt/certificates
8 set net_inc = 1
9 set edit_headers = yes
10 set charset = "utf-8"
11 set pager_stop = yes
12 set sort = "threads"
13 set sort_aux = "last-date-received"
14 set pager_index_lines = 6
15 set timeout = 60
16 set rfc2047_parameters
17 set reply_to = yes
18 set fcc_clear = yes
19 set ssl_force_tls = no
20 set user_agent = yes
21 set signature = ~/.signature
22 set hostname = "stargrave.org"
23 set realname = "Sergey Matveev"
24 set query_command = "mu cfind --format=mutt-ab '%s'"
25 set forward_format = "Fwd: %s"
26 set index_format = "%4C %Z[%1H] %{%m-%d} [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
27 set pipe_decode = yes
28 set crypt_protected_headers_write = yes
29 set print_command = "cat > /tmp/mail-printed"
30 set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
31 set forward_attribution_intro = "----- BEGIN %i -----"
32 set forward_attribution_trailer = "----- END %i -----"
33 set date_format = "%Y-%m-%d %H:%M"
34
35 source ~/.mutt/useragent.rc
36
37 macro index <F1> "<next-unread-mailbox><enter>" "Go to new mail"
38 macro pager <F1> "<next-unread-mailbox><enter>" "Go to new mail"
39 macro browser <F1> "<next-unread-mailbox><enter>" "Go to new mail"
40 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
41
42 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
43 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
44
45 macro pager \cu |urlview\n
46
47 macro index \cb <decrypt-copy>
48 macro pager \cb <decrypt-copy>
49
50 macro index \ce <next-entry>
51 macro index \cy <previous-entry>
52 macro pager \ce <next-line>
53 macro pager \cy <previous-line>
54
55 alternative_order text/plain text/enriched text/html
56 auto_view text/html
57 unignore \
58     Mail-Followup-To \
59     List-Id \
60     Reply-To \
61     Mail-Reply-To \
62     Organization \
63     OpenPGP \
64     Return-Path \
65     X-Mailer \
66     User-Agent \
67     Message-Id
68
69 fcc-hook .* $record
70 folder-hook . "set sort = threads; push <collapse-all>"
71
72 source ~/.mutt/mailboxes.rc
73 source ~/.mutt/accounts/rc
74
75 # set mime_forward = yes
76 # set mime_forward_rest = yes