X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/c126c316fd8a43f04e52218aec75c96a540e7396..9144103eb9c4b41ef511c5ab7626f791bbf4950f:/keybindings diff --git a/keybindings b/keybindings index 9462ef3..c8930b4 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 ':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" @@ -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