> When `Ctrl-C` is used to exit insert mode to normal mode, `got_int` is
> set which means that the autocmd is not received. But I guess this is
> intentional?

I suppose so.  If someone is in the habit of using CTRL-C to exit Insert
mode some side effects are to be expected.  At least let's keep it this
way until someone can provide a good reason to do otherwise.

-- 
$ echo pizza > /dev/oven

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211019214242.4CE5BC80053%40moolenaar.net.

Raspunde prin e-mail lui