X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/846b1e95596a9c6f80581351b9ab3f1fa8dcdf9c..309e146dba25dcbef944c5d44be1b9a191262047:/keybindings diff --git a/keybindings b/keybindings index 65da4b1..418734b 100644 --- a/keybindings +++ b/keybindings @@ -20,7 +20,7 @@ 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=/tmp/add-tickle-stamp=tickler:set editor="$my_editor"' "schedule message with tickler" macro index,pager \eS "=store" "go to store folder" @@ -30,10 +30,10 @@ 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" #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