* Tom Tunguz <ttun...@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 <m...@gmail.com>t...@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 <m...@gmail.com><enter>"

Cheers, Anders

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

Reply via email to