Sorry for top post. And sorry, I'm talking about this without making
sure the behavour.
I wonder why you are trying to get InsertLeave with nnoremap. I
beleave that leader <c-c> afect to insert mode at the first. So I'm
thinking it should be inoremap to do that.


On 8/1/12, 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.
>
> --
> 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
>


-- 
- Yasuhiro Matsumoto

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

Raspunde prin e-mail lui