Remove monthly-related Mutt commands
[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 signature = ~/.signature
20 set hostname = "stargrave.org"
21 set realname = "Sergey Matveev"
22 set query_command="mu cfind --format=mutt-ab '%s'"
23 set forward_format = "Fwd: %s"
24 set indent_string = ">"
25 set attribution = "*** %n [%(%Y-%m-%d %H:%M)]:"
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
31 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
32 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
33
34 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
35
36 macro pager \cu |urlview\n
37 macro index \cn "<next-unread-mailbox><enter>" "Go to new mail"
38 alternative_order text/plain text/enriched text/html
39 auto_view text/html
40 unignore \
41     Mail-Followup-To \
42     List-Id \
43     Reply-To \
44     Mail-Reply-To \
45     Organization \
46     OpenPGP \
47     Return-Path \
48     X-Mailer \
49     User-Agent \
50     Message-Id
51
52 macro index <F2> ":source ~/.mutt/accounts/stargrave.org\n" "Profile: stargrave.org"
53 macro index <F3> ":source ~/.mutt/accounts/stcnet.ru\n" "Profile: stcnet.ru"
54 macro index <F4> ":source ~/.mutt/accounts/riseup.net\n" "Profile: riseup.net"
55
56 alternates stargrave@stargrave.org junk@stargrave.org
57 mailboxes =mbox \
58     =rss \
59     =monitoring \
60     =arbeit \
61     =crypto \
62     =debian \
63     =fsf \
64     =gnupg \
65     =golang \
66     =spam \
67     =stcnet \
68     =suckless \
69     =fbsd \
70     =tortalk \
71     =vim \
72     =zfs \
73     =zsh
74
75 # set mime_forward = yes
76 # set mime_forward_rest = yes
77
78 fcc-hook .* $record
79
80 folder-hook . "set sort = threads; push <collapse-all>"
81
82 folder-hook =rss "set sort = date"
83 folder-hook =monitoring "set sort = date"
84
85 source ~/.mutt/monthly
86
87 source ~/.mutt/accounts/stargrave.org