X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/a43c595fdaf36f34955585d2941f25d2b9821011..337174a52f23b95a055ee0a0403919662d3616f9:/.config/mutt/keybindings

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	"<enter-command> set my_weed=\$weed<enter><enter-command> se
 
 macro index,pager	<F10>	"<enter-command> set my_pipe_decode=\$pipe_decode<enter><enter-command> unset pipe_decode<enter><pipe-message>$my_confdir/viewmailattachments<enter><enter-command> set pipe_decode=\$my_pipe_decode<enter>" "view attachments in browser"
 
+macro compose	\ez	"<enter-command> set my_editor=\$editor<enter><enter-command> set editor='mogrify -sample 1000x1000'<enter><edit-file><enter-command> set editor=\$my_editor<enter>" "Resize attached image to within 1000x1000"
+
 bind index,pager	<left>		sidebar-prev
 bind index,pager	\e<up>		sidebar-prev
 bind index,pager	<right>		sidebar-next