X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/846b1e95596a9c6f80581351b9ab3f1fa8dcdf9c..99caf6a9bf33bbdaf49fd645a1a350131b57cb8b:/keybindings diff --git a/keybindings b/keybindings index 65da4b1..3f70c08 100644 --- a/keybindings +++ b/keybindings @@ -20,9 +20,16 @@ bind pager,index previous-unread ##macro index L "=store" macro index,pager S "=store" "save message to store" -macro index,pager E "=tickle/" "save message to tickler" +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,pager \eS "=store" "go to store folder" +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 \eR ":source $my_confdir/muttrc" "reload muttrc" macro compose \eR ":source $my_confdir/muttrc" "reload muttrc" @@ -30,10 +37,15 @@ 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,pager \Cb "/usr/bin/urlview" "invoke urlview" +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 compose Y '' "send message without storing" +macro compose \Cy 'cY' "send message without storing or signing" + +macro index F '~L ' "search for correspondents" #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-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" # vim:sw=12:noet:sts=12:ts=12:ft=muttrc