From: martin f. krafft Date: Wed, 22 Jun 2022 07:12:22 +0000 (+0200) Subject: Keybinding to reduce image attachment size X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/337174a52f23b95a055ee0a0403919662d3616f9?hp=05d4f8015b5da9be04da4c76909fdfd7575b4f35 Keybinding to reduce image attachment size --- 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