Macro question

Anders Damsgaard anders at adamsgaard.dk
Fri Dec 11 04:50:21 UTC 2020


* Tom Tunguz <ttunguz at gmail.com> [2020-12-10 20:11:47 -0800]:

>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"

Hi Tom,

I think you need to bind the "compose" menu instead.  Also, \cg seems to
be reserved, so use something else.  Finally, the email address seems
malformed.

The following works:

macro compose \cb "c mutt <mutt at gmail.com><enter>"

Cheers, Anders

-- 
Anders Damsgaard
https://adamsgaard.dk
gopher://adamsgaard.dk


More information about the Mutt-users mailing list