X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/94e32abece4f7175e657eb6b0f20968eb320fa02..8c3b44164ed391fb514e5854dbe63009d4932127:/.mutt/keybindings diff --git a/.mutt/keybindings b/.mutt/keybindings index d88fddd..1565bd7 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -1,6 +1,7 @@ bind index,pager | pipe-message bind index,pager ! flag-message -bind index,pager \ep print-message +macro index,pager \ep "muttprint -p TO_FILE:$tmpdir/muttprint.ps -D && gv $tmpdir/muttprint.ps && rm $tmpdir/muttprint.ps" +bind index,pager \eP print-message bind index,pager previous-entry bind index,pager next-entry bind index,pager p previous-undeleted @@ -18,8 +19,9 @@ bind pager,index previous-unread ##bind index n next-undeleted ##macro index L "=store" -macro index,pager S "=store" "save message to store" -macro index,pager E ':set my_editor="$editor":set editor="$my_confdir/add-tickle-stamp"=tickler:set editor="$my_editor"' "schedule message with tickler" +macro index S "=store" "save message to store" +macro pager S "=store" "save message to store" +macro index,pager E ':set my_editor="$editor":set editor="$my_confdir/add-tickle-stamp"=resubmit:set editor="$my_editor"' "schedule message with tickler" macro index,pager \eS "" macro index,pager \eU "" @@ -33,8 +35,10 @@ macro index,pager \ea "=admin" "go to admin folder" macro index,pager \eR ":source $my_confdir/muttrc" "reload muttrc" macro compose \eR ":source $my_confdir/muttrc" "reload muttrc" -macro index,pager X "=retrain/spam" "retrain message as spam" -macro index,pager Z "=retrain/ham" "retrain message as ham" +macro index X "=retrain/spam" "retrain message as spam" +macro pager X "=retrain/spam" "retrain message as spam" +macro index Z "=retrain/ham" "retrain message as ham" +macro pager Z "=retrain/ham" "retrain message as ham" macro index,pager \Cb ':set my_pipe_decode="$pipe_decode":set pipe_decode/usr/bin/urlview:set pipe_decode="$my_pipe_decode"' "invoke urlview" @@ -47,4 +51,6 @@ macro index F '~L ' "search for correspondents" macro compose e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" macro index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" +macro index \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" + # vim:sw=12:noet:sts=12:ts=12:ft=muttrc