]> Sergey Matveev's repositories - dotfiles.git/blob - mutt/.mutt/muttrc
Mutt's decrypt-copy bind
[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 <F2> "<decrypt-copy>" "DC"
41 macro pager <F2> "<decrypt-copy>" "DC"
42
43 alternative_order text/plain text/enriched text/html
44 auto_view text/html
45 unignore \
46     Mail-Followup-To \
47     List-Id \
48     Reply-To \
49     Mail-Reply-To \
50     Organization \
51     OpenPGP \
52     Return-Path \
53     X-Mailer \
54     User-Agent \
55     Message-Id
56
57 macro index <F2> ":source ~/.mutt/accounts/stargrave.org\n" "Profile: stargrave.org"
58 macro index <F3> ":source ~/.mutt/accounts/stcnet.ru\n" "Profile: stcnet.ru"
59 macro index <F4> ":source ~/.mutt/accounts/riseup.net\n" "Profile: riseup.net"
60
61 alternates stargrave@stargrave.org junk@stargrave.org
62 mailboxes =mbox \
63     =rss \
64     =monitoring \
65     =arbeit \
66     =crypto \
67     =debian \
68     =gnu \
69     =gnupg \
70     =golang \
71     =gopher \
72     =guix \
73     =spam \
74     =suckless \
75     =fbsd \
76     =vim \
77     =zfs \
78     =zsh
79
80 # set mime_forward = yes
81 # set mime_forward_rest = yes
82
83 fcc-hook .* $record
84
85 folder-hook . "set sort = threads; push <collapse-all>"
86
87 folder-hook =rss "set sort = date"
88 folder-hook =monitoring "set sort = date"
89
90 source ~/.mutt/monthly
91
92 source ~/.mutt/accounts/stargrave.org