From: martin f. krafft Date: Tue, 16 Sep 2008 13:47:13 +0000 (+0100) Subject: use enter-command instead of : X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/c25acc9ef0b9ebaa5cdc1f4389af445a263f4fc8 use enter-command instead of : --- diff --git a/.mutt/keybindings b/.mutt/keybindings index c64599d..cef50eb 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -16,7 +16,7 @@ bind index,pager \eD delete-subthread bind pager,index previous-unread -#macro pager,index p ":" "do nothing" +#macro pager,index p "" "do nothing" ##bind index p previous-undeleted ##bind index n next-undeleted @@ -36,15 +36,15 @@ 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" +macro index,pager \eR "source $my_confdir/muttrc" "reload muttrc" +macro compose \eR "source $my_confdir/muttrc" "reload muttrc" macro index X "=retrain/spam" "retrain message as spam" macro pager X "=retrain/spam" "retrain message as spam" macro index Z "=retrain/ham" "retrain message as ham" macro pager Z "=retrain/ham" "retrain message as ham" -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 index,pager \Cb 'set my_pipe_decode="$pipe_decode"set pipe_decode/usr/bin/urlviewset pipe_decode="$my_pipe_decode"' "invoke urlview" macro compose Y '' "send message without storing" macro compose \Cy 'cY' "send message without storing or signing" @@ -56,9 +56,9 @@ macro pager \Co 'imaps://logcheck-todo%40madduck.net:logcheck@ima macro index,pager \eo 'imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net' 'go to logcheck todo folder' #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-editorset editor="$my_editor"' "invoke normal editor to edit message" +macro index,pager e 'set my_editor="$editor"set editor=sensible-editorset editor="$my_editor"' "invoke normal editor to edit message" -macro index \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" +macro index \ej 'set my_editor="$editor"source "$my_confdir/batch-subject-editor|"set editor="$my_editor"' "change message subject" # vim:sw=12:noet:sts=12:ts=12:ft=muttrc