From 74a64f931702a5638153440ab726a69ec63b0577 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 12 Jun 2024 14:57:00 +0200 Subject: [PATCH] provide manual send keybindings --- .config/neomutt/keybindings | 3 --- .config/neomutt/neomuttrc | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/neomutt/keybindings b/.config/neomutt/keybindings index 8283146..ec036bd 100644 --- a/.config/neomutt/keybindings +++ b/.config/neomutt/keybindings @@ -46,9 +46,6 @@ macro pager Z "=retrain/ham" "retrain message as ham" macro index,pager,attach,compose \Cb " set my_pipe_decode=\$pipe_decode set pipe_decode/usr/bin/urlscan set pipe_decode=\$my_pipe_decode" "invoke urlscan" -macro compose Y '' "send message without storing" -macro compose \Cy 'c' "send message without signing" -macro compose \CY 'cY' "send message without storing signing" macro compose N ' unset fcc_attach' "do not fcc-store attachment" macro index,pager F '~L ' "search for correspondents" diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc index 32cd6cf..8e2aa32 100644 --- a/.config/neomutt/neomuttrc +++ b/.config/neomutt/neomuttrc @@ -67,3 +67,5 @@ set pager_format="<%a> %* %J (%P)" set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.extra,pymdownx.highlight,pymdownx.critic,pymdownx.keys,pymdownx.magiclink,pymdownx.mark,pymdownx.saneheaders,pymdownx.smartsymbols,nl2br" macro compose y " source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|' source \$my_mdwn_postprocess_cmd_file" "Convert message into a modern MIME tree with inline images" +macro compose Y " source '$my_confdir/buildmimetree.py --just-build --max-number-other-attachments 100 --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|' source \$my_mdwn_postprocess_cmd_file" "Convert message into a modern MIME tree with inline images" +bind compose \Cy send-message -- 2.39.2