X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=mutt%2F.mutt%2Fmuttrc;h=b7fc9579722b0932c95aeac4fdc6eafd558d7453;hb=dd58224a7e8f087634e0e8628f9789dc8201fbf4;hp=5dad1054d202213731c5c9273fa407c8f73307dc;hpb=fb596a09a31d563808824d7d0c2f71e3acea6347;p=dotfiles.git diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 5dad105..b7fc957 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,22 +21,28 @@ 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 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 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 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" -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 @@ -51,21 +57,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