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.


Best regards,
Tony.
-- 
Bypasses are devices that allow some people to dash from point A to
point B very fast while other people dash from point B to point A very
fast.  People living at point C, being a point directly in between, are
often given to wonder what's so great about point A that so many people
from point B are so keen to get there and what's so great about point B
that so many people from point A are so keen to get _there_.  They often
wish that people would just once and for all work out where the hell
they wanted to be.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

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

Reply via email to