Hi stardiviner,
* stardiviner <numbch...@gmail.com> [03. Aug. 2011]:
> I find that press "c" to switch mailbox to ".Search" ( This folder is for
> mairix Search result ) is not easy and cheap enough.
> I hope to set a bind or macro for this, when I type *,f* to:some...@gmail.com 
> then press "Enter", and mutt will automatic switch to ".Search" mailbox.
> But it almost impossible to set a macro or key-bind for operation after
> pressing "Enter".
> There is another way a little simple is set a macro like :
> macro index cs "<change-folder>=.Search<enter>" "switch to mairix Search 
> result"
> But I do not think this is simple enough.
> So, 
> A WAY TO AUTOMATIC AFTER ENTER !!!


How about
macro index <f8> "<sync-mailbox><toggle-write><shell-escape>mairix 
\"$@\"<enter><change-folder>=findex<enter><sort>t<delete-pattern>~=<enter><sync-mailbox>"
macro pager <f8> "<sync-mailbox><toggle-write><shell-escape>mairix 
\"$@\"<enter><change-folder>=findex<enter><sort>t<delete-pattern>~=<enter><sync-mailbox>"
   
 

?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

Reply via email to