On 31 July 2012 21:36, Mikey <[email protected]> wrote:
> Using <C-c> as a leader key breaks 'Does not trigger the InsertLeave
> autocommand event'
>
> I use GVim 7.3.600.
> Steps to reproduce:
>
> gvim -u NONE -U NONE
> set nocompatible
> au InsertLeave * :echo "InsertLeave event triggered"
> nnoremap <C-c>a k
>
> Now enter some text and while being in insert mode press <C-c> to exit
> to normal mode.
>From ":help InsertLeave":
*InsertLeave*
InsertLeave When leaving Insert mode. Also when using
CTRL-O |i_CTRL-O|. But not for |i_CTRL-C|.
Cheers,
Lech
--
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