]> Sergey Matveev's repositories - dotfiles.git/blobdiff - mutt/.mutt/muttrc
Updated GnuPG
[dotfiles.git] / mutt / .mutt / muttrc
index ba3c2d72a38f9ab97ab567086cd887f927738f73..38cde43bf069ae1de4a3212553ec8e15562cf94e 100644 (file)
@@ -16,25 +16,38 @@ set timeout = 60
 set rfc2047_parameters
 set reply_to = yes
 set fcc_clear = yes
+set ssl_force_tls = no
+set user_agent = yes
 set signature = ~/.signature
 set hostname = "stargrave.org"
 set realname = "Sergey Matveev"
 set query_command="mu cfind --format=mutt-ab '%s'"
 set forward_format = "Fwd: %s"
-set indent_string = ">"
-set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
 set index_format = "%4C %Z[%1H] %{%m-%d} [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
 set pipe_decode = yes
 set crypt_protected_headers_write = yes
 set print_command="cat > /tmp/mail-printed"
+my_hdr User-Agent: Mutt/2.1.2 GnuPG/2.3.2 Vim/8.2 FreeBSD/12.0 (amd64)
+set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
+set forward_attribution_intro = "----- BEGIN %i -----"
+set forward_attribution_trailer = "----- END %i -----"
+
+macro index <F1> "<next-unread-mailbox><enter>" "Go to new mail"
+macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
 
 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
 
-macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
-
 macro pager \cu |urlview\n
-macro index \cn "<next-unread-mailbox><enter>" "Go to new mail"
+
+macro index \cb <decrypt-copy>
+macro pager \cb <decrypt-copy>
+
+macro index \ce <next-entry>
+macro index \cy <previous-entry>
+macro pager \ce <next-line>
+macro pager \cy <previous-line>
+
 alternative_order text/plain text/enriched text/html
 auto_view text/html
 unignore \
@@ -49,40 +62,11 @@ unignore \
     User-Agent \
     Message-Id
 
-macro index <F2> ":source ~/.mutt/accounts/stargrave.org\n" "Profile: stargrave.org"
-macro index <F3> ":source ~/.mutt/accounts/stcnet.ru\n" "Profile: stcnet.ru"
-macro index <F4> ":source ~/.mutt/accounts/riseup.net\n" "Profile: riseup.net"
-
-alternates stargrave@stargrave.org junk@stargrave.org
-mailboxes =mbox \
-    =rss \
-    =monitoring \
-    =arbeit \
-    =crypto \
-    =debian \
-    =gnu \
-    =gnupg \
-    =golang \
-    =gopher \
-    =guix \
-    =spam \
-    =suckless \
-    =fbsd \
-    =tortalk \
-    =vim \
-    =zfs \
-    =zsh
-
-# set mime_forward = yes
-# set mime_forward_rest = yes
-
 fcc-hook .* $record
-
 folder-hook . "set sort = threads; push <collapse-all>"
 
-folder-hook =rss "set sort = date"
-folder-hook =monitoring "set sort = date"
-
-source ~/.mutt/monthly
+source ~/.mutt/mailboxes
+source ~/.mutt/accounts/rc
 
-source ~/.mutt/accounts/stargrave.org
+# set mime_forward = yes
+# set mime_forward_rest = yes