X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/d215fb8c4bb24685149e374ced9ab2fa5c2fd21e..6ab2e992a0ec80df3a16e860149c0f0c8062691f:/.mutt/keybindings diff --git a/.mutt/keybindings b/.mutt/keybindings index 758e971..0a2b011 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -19,7 +19,8 @@ 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 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 "" @@ -34,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" @@ -44,10 +47,14 @@ macro compose \Cy 'cY' "send message without storing or signing" macro index F '~L ' "search for correspondents" +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 index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" -macro index,pager \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" +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