X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/0898d5cf098dace711b1d991a90449eabb2e84c2..ce86b8c44a04c6bf82b3d2b27f9f2e4d76c9a851:/.mutt/keybindings?ds=sidebyside diff --git a/.mutt/keybindings b/.mutt/keybindings index d88fddd..64dd0f9 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -1,50 +1,59 @@ bind index,pager | pipe-message bind index,pager ! flag-message -bind index,pager \ep print-message +bind index,pager \eP print-message bind index,pager previous-entry bind index,pager next-entry -bind index,pager p previous-undeleted -bind index,pager n next-undeleted -#bind pager previous-line -#bind pager next-line -#bind index,pager previous-undeleted -#bind index,pager next-undeleted +bind index,pager \eS decode-save +bind index,pager \eU undelete-subthread +bind index,pager \eD delete-subthread bind pager,index previous-unread -#macro pager,index p ":" "do nothing" - -##bind index p previous-undeleted -##bind index n next-undeleted +macro pager,index p "" "do nothing" ##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 messages to store" +macro pager S "=store" "save message to store" + +macro index \er '=resubmit' "resubmit messages" +macro pager \er '=resubmit' "resubmit message" + +macro index,pager E 'source "$my_confdir/supersede-header X-Tickle get-timestamp|"push \er' "schedule messages with tickler" +macro index,pager \ex 'source "$my_confdir/remove-header X-Postponed|"' "release postponed messages" -macro index,pager \eS "" -macro index,pager \eU "" -macro index,pager \eD "" macro index,pager \es "=store" "go to store folder" macro index,pager \ed "=debian" "go to debian folder" macro index,pager \ei "=inbox" "go to inbox folder" macro index,pager \eu "=ul" "go to ul folder" macro index,pager \ea "=admin" "go to admin folder" +macro index,pager \eh "=phd" "go to phd folder" -macro index,pager \eR ":source $my_confdir/muttrc" "reload muttrc" -macro compose \eR ":source $my_confdir/muttrc" "reload muttrc" +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" +macro index,pager \Cb 'set my_pipe_decode="$pipe_decode"set pipe_decode/usr/bin/urlviewset pipe_decode="$my_pipe_decode"' "invoke urlview" macro compose Y '' "send message without storing" macro compose \Cy 'cY' "send message without storing or signing" macro index F '~L ' "search for correspondents" +bind pager [ half-up +bind pager ] half-down + +macro index \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' +macro pager \Co 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'save message to logcheck-todo' +macro index,pager \eo 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'go to logcheck todo folder' + #TODO this is a hack until switch-profile does not readd headers. -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 compose e 'set my_editor="$editor"set editor=sensible-editorset editor="$my_editor"' "invoke normal editor to edit message" +macro index,pager e 'set my_editor="$editor"set editor=sensible-editorset 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