X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=mutt%2F.mutt%2Fmuttrc;h=cb90216a3544f65272b74f2b1068e276517e1d8a;hb=d1d434e0a2b51113fd73afc642fd302a14c6db4d;hp=09e27b10db662480f9cef66017fc845cb9668633;hpb=555295ce3e5b625c28a7653b63a78aa0b25f42f0;p=dotfiles.git diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 09e27b1..cb90216 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -2,7 +2,7 @@ set folder = "~/mail" set mbox_type = maildir # set mbox_type = mbox set spoolfile = =mbox -set record = =sent-`date "+%y-%m"` +set record = =back-`date "+%y-%m"` set postponed = =postponed set certificate_file = ~/.mutt/certificates set net_inc = 1 @@ -21,20 +21,31 @@ 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 query_command = "mu cfind --format=mutt-ab '%s'" set forward_format = "Fwd: %s" -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 date_format = "%Y-%m-%d %H:%M" +set index_format = "%4C %Z[%1H] %D [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s" set pipe_decode = yes +set print_command = "cat > /tmp/mail-printed" +set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:" +set forward_attribution_intro = "----- BEGIN %i -----" +set forward_attribution_trailer = "----- END %i -----" +set mail_check_stats +set folder_format="%3C %t %N [%3n|%3m] %D %f" + set crypt_protected_headers_write = yes -set print_command="cat > /tmp/mail-printed" -my_hdr User-Agent: Mutt/2.1.1 GnuPG/2.3.1 Vim/8.2 FreeBSD/12.0 (amd64) +set crypt_opportunistic_encrypt = yes +set crypt_autosign = yes -macro index "" "Go to new mail" +source ~/.mutt/useragent.rc + +macro index,pager,browser "" macro index ":set mbox_type = mbox\n" "mbox mailbox type" +macro index S "=spamdb" -macro index "mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find" -macro index "~/mail/search" "mu find results" +macro index "mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find" +macro index "~/mail/search" "mu find results" +macro index "~/mail/search-sent" "mu find sent results" macro pager \cu |urlview\n @@ -49,21 +60,24 @@ macro pager \cy alternative_order text/plain text/enriched text/html auto_view text/html unignore \ - Mail-Followup-To \ List-Id \ - Reply-To \ + Mail-Followup-To \ Mail-Reply-To \ - Organization \ + Message-Id \ OpenPGP \ + Organization \ + Reply-To \ Return-Path \ - X-Mailer \ User-Agent \ - Message-Id + X-Bogosity \ + X-Label \ + X-Mailer \ + X-Original-To fcc-hook .* $record folder-hook . "set sort = threads; push " -source ~/.mutt/mailboxes +source ~/.mutt/mailboxes.rc source ~/.mutt/accounts/rc # set mime_forward = yes