<<< Date Index >>>     <<< Thread Index >>>

Re: push/enter and my earlier questions



=- Chris G wrote on Wed  8.Aug'07 at 22:35:02 +0100 -=

>     macro index S ":push <enter-command>^Mset 
> mbox_type=maildir^M<save-message>"     
>     macro index s ":push <enter-command>^Mset mbox_type=mbox^M<save-message>" 
>       

a) Don't put trailing spaces :)
b) Don't use ^M but <enter>
c) You don't need "push" for this, make it a simple macro.

> (OK, I need the same macro defined in a couple of other modes as
> well but the above is the essence of what I need, hurrah!)

Latest mutt lets you define for several modes at once.

=- Chris G wrote on Wed  8.Aug'07 at 22:06:09 +0100 -=

> Ah, I hadn't seen that there is an <enter-command> function which
> effectively takes one to the : prompt, thank you. I'll experiment
> some more.

Hit '?', there you see all function names and current keybindings.

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.