Hi Ingo!
On Sa, 13 Dez 2014, Ingo Karkat wrote:
> Thank you Christian! Doesn't this have to consider the current mode?
> So when I have an :imap <C-c>, that mapping is used in insert mode,
> but when I press <C-c> in normal mode (or any other), it interrupts.
Yes, that would be even better. I am not sure how easy it would be to do
this though, since the current code never made a difference between
several mapped modes of Ctrl-C. We can probably make something work, but
in general I would advise not to map Ctrl-C at all.
> Also, I wonder whether this increment / decrement is robust when using
> :map <buffer> <C-c>; the applicability is then dependent on the
> current buffer, and one usually don't :unmap <buffer>, but just
> discards the buffer.
I am not sure, but I will check later.
Best,
Christian
--
Die Aristokratie muß schon durch die Bedingungen ihrer Existenz als
Stand allen Neuerungen abgeneigt sein.
-- Henry Thomas Buckle (Geschichte der Civilisation in England)
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.