On Sat, 10 Jan 2009 20:18:15 +0800, Tony Mechelynck wrote:

>
> On 10/01/09 10:08, Yue Wu wrote:
>> As title.
>>
>
> Hitting Ctrl-C in Insert mode goes back to Normal mode without
> triggering InsertLeave. You can then call your function. I don't think
> it's possible to go back into Insert mode afterwards without triggering
> InsertEnter. Except, of course, in a Vim version built with -autocmd.
>
Hmm, so it's not possible achieve in vimscript :(
I want to call the function when in insertmode and don't want to trigger
the insertLeave/Enter in vimscript.

-- 
Regards,
Van.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to