]> Sergey Matveev's repositories - dotfiles.git/blob - mutt/.mutt/muttrc
Working mouse wheel in Mutt
[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_starttls = no
20 set signature = ~/.signature
21 set hostname = "stargrave.org"
22 set realname = "Sergey Matveev"
23 set query_command="mu cfind --format=mutt-ab '%s'"
24 set forward_format = "Fwd: %s"
25 set indent_string = ">"
26 set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
27 set index_format = "%4C %Z[%1H] %{%m-%d} [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
28 set pipe_decode = yes
29 set crypt_protected_headers_write = yes
30 set print_command="cat > /tmp/mail-printed"
31
32 macro index <F1> "<next-unread-mailbox><enter>" "Go to new mail"
33 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
34
35 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
36 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
37
38 macro pager \cu |urlview\n
39
40 macro index \cb <decrypt-copy>
41 macro pager \cb <decrypt-copy>
42
43 macro index \ce <next-entry>
44 macro index \cy <previous-entry>
45 macro pager \ce <next-line>
46 macro pager \cy <previous-line>
47
48 alternative_order text/plain text/enriched text/html
49 auto_view text/html
50 unignore \
51     Mail-Followup-To \
52     List-Id \
53     Reply-To \
54     Mail-Reply-To \
55     Organization \
56     OpenPGP \
57     Return-Path \
58     X-Mailer \
59     User-Agent \
60     Message-Id
61
62 macro index <F2> ":source ~/.mutt/accounts/stargrave.org\n" "Profile: stargrave.org"
63 macro index <F3> ":source ~/.mutt/accounts/stcnet.ru\n" "Profile: stcnet.ru"
64 macro index <F4> ":source ~/.mutt/accounts/riseup.net\n" "Profile: riseup.net"
65
66 alternates stargrave@stargrave.org junk@stargrave.org
67 mailboxes =mbox \
68     =rss \
69     =monitoring \
70     =arbeit \
71     =crypto \
72     =debian \
73     =gnu \
74     =gnupg \
75     =golang \
76     =gopher \
77     =guix \
78     =spam \
79     =suckless \
80     =fbsd \
81     =vim \
82     =zfs \
83     =zsh
84
85 # set mime_forward = yes
86 # set mime_forward_rest = yes
87
88 fcc-hook .* $record
89
90 folder-hook . "set sort = threads; push <collapse-all>"
91
92 folder-hook =rss "set sort = date"
93 folder-hook =monitoring "set sort = date"
94
95 source ~/.mutt/monthly
96
97 source ~/.mutt/accounts/stargrave.org