X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/f5b4c8ddb39f52d01a3880410417f8439aa5223f..3f2ef4be00de46a9ce966d3412f0d1313c6b4e69:/.config/mutt/keybindings?ds=inline diff --git a/.config/mutt/keybindings b/.config/mutt/keybindings index 32a6487..d8f3484 100644 --- a/.config/mutt/keybindings +++ b/.config/mutt/keybindings @@ -74,12 +74,16 @@ macro index,pager \el " set my_editor=\$editor "" "do nothing" -macro attach e " set my_mailcap_path=\$mailcap_path set mailcap_path=$my_confdir/mailcap.editing set mailcap_path=\$my_mailcap_path" "edit temporary file of attachment" +macro attach e " set my_mailcap_path=\$mailcap_path set mailcap_path=$my_confdir/mailcap.editing set mailcap_path=\$my_mailcap_path" "Call pdftool to file attachment" +macro attach E " set my_mailcap_path=\$mailcap_path set mailcap_path=$my_confdir/mailcap.editing set mailcap_path=\$my_mailcap_path" "Call pdftool to process & file attachment" macro index,pager M " set my_weed=\$weed set noweedformail -czx X-RSS-URL: | xargs sensible-browser set weed=\$my_weed" 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" +macro compose \eZ " set my_editor=\$editor set editor='mogrify -sample 2500x2500' 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