On 10/01/09 13:52, Yue Wu wrote:
> 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.
>
Wait, I've remembered something:
see
:help autocmd-disable
:help :noautocmd
:help 'eventignore'
Best regards,
Tony.
--
"I am not sure what this is, but an `F' would only dignify it."
-- English Professor
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---