From 337174a52f23b95a055ee0a0403919662d3616f9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 22 Jun 2022 09:12:22 +0200 Subject: [PATCH] Keybinding to reduce image attachment size --- .config/mutt/keybindings | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/mutt/keybindings b/.config/mutt/keybindings index e32c1b2..a3cafa9 100644 --- a/.config/mutt/keybindings +++ b/.config/mutt/keybindings @@ -81,6 +81,8 @@ macro index,pager M " set my_weed=\$weed se macro index,pager " set my_pipe_decode=\$pipe_decode unset pipe_decode$my_confdir/viewmailattachments set pipe_decode=\$my_pipe_decode" "view attachments in browser" +macro compose \ez " set my_editor=\$editor set editor='mogrify -sample 1000x1000' set editor=\$my_editor" "Resize attached image to within 1000x1000" + bind index,pager sidebar-prev bind index,pager \e sidebar-prev bind index,pager sidebar-next -- 2.39.2