From a8ac13e306463739b9746b888d04cc6185f75104 Mon Sep 17 00:00:00 2001 From: Sergey Matveev <stargrave@stargrave.org> Date: Mon, 9 Dec 2019 08:02:05 +0300 Subject: [PATCH] Mutt's decrypt-copy bind --- mutt/.mutt/muttrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 8da23a0..84eaae4 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -30,12 +30,16 @@ set crypt_protected_headers_write = yes set print_command="cat > /tmp/mail-printed" 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 <F2> "<decrypt-copy>" "DC" +macro pager <F2> "<decrypt-copy>" "DC" + alternative_order text/plain text/enriched text/html auto_view text/html unignore \ -- 2.51.0