X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7013dfe93a05082153f79eca6c9e5c05b54d9d50..d5ef8d19353a453275f0cbe5f1d6faf77fe23493:/.config/mutt/keybindings?ds=sidebyside diff --git a/.config/mutt/keybindings b/.config/mutt/keybindings index 9a50eca..d8f3484 100644 --- a/.config/mutt/keybindings +++ b/.config/mutt/keybindings @@ -74,10 +74,24 @@ 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 +bind index,pager \e sidebar-next +bind index,pager \e sidebar-open +bind index,pager \e sidebar-page-up +bind index,pager \e sidebar-page-down + +bind index,pager \\ sidebar-toggle-visible + # vim:sw=12:noet:sts=12:ts=12:ft=muttrc