From: martin f. krafft Date: Sun, 26 Aug 2007 18:28:33 +0000 (+0200) Subject: set pipe_decode (and unset it afterwards) for urlview X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/31a061273a0e6ae64408e4b411e583c12264c9b6?ds=sidebyside;hp=c126c316fd8a43f04e52218aec75c96a540e7396 set pipe_decode (and unset it afterwards) for urlview --- diff --git a/keybindings b/keybindings index 9462ef3..0f8d1a1 100644 --- a/keybindings +++ b/keybindings @@ -30,7 +30,7 @@ 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"