X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/c126c316fd8a43f04e52218aec75c96a540e7396..9e301ff1d805636b3f25658f378a99df24afb5ce:/keybindings?ds=sidebyside diff --git a/keybindings b/keybindings index 9462ef3..a9e3463 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 ':set my_editor="$editor":set editor=/tmp/add-tickle-stamp=tickler:set editor="$my_editor"' "schedule message with 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,13 @@ 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" #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