On 10/5/18, John Hawkinson <[email protected]> wrote:
> I suggest you
>
>   set edit_headers

Now, that's something! Thanks, John!

For those, who are interested: because of email addresses present in
the editor while editing the message, in Vim, I can create something
like that (in $VIMHOME/ftdetect/mail.vim):

    autocmd BufEnter *mutt-MyMachine* call BeAware()
    function BeAware()
        if search('[email protected]')
            !alert 'Add Y, Z'
        endif
    endfunction

Which will alert me if this specific string '[email protected]' will
be present in the buffer.

Looks pretty nice :).



-- 
Alex

Reply via email to