Macro question

Francesco Ariis fa-ml at ariis.it
Fri Dec 11 04:57:00 UTC 2020


Hello Tom,

Il 10 dicembre 2020 alle 20:11 Tom Tunguz ha scritto:
> Hi,
> 
> I'm just getting into mutt and really enjoying it. I'm trying to create a
> macro to add someone to the cc window that appears after closing the editor
> (vim in my case) and mutt shows the to, cc, BCC, subject fields. I'd like
> to hit control + g and add an email address.
> 
> My current macro is this but it's not working. Can anyone help me fix this?
> 
> macro editor \cg "c mut <mutt at gmail.com>t at gmail.com"

I suspect it should look like this:

    macro compose \cw "<edit-cc>test at example.org<enter>"

Notice:
- «compose» instead of «editor» (you see the map you are currently in
  on bottom left or by pressing ‘?’);
- \cw instead of \cg ad <C-g> is already taken by Bash here. If you press
  a key and «Key is not bound.  Press '?' for help.» is displayed, you know
  the key can be bound.


More information about the Mutt-users mailing list