Wednesday, December 2, 2009

Re: mapping problems

On Dec 1, 1:39 pm, Matt Brown <deadguysf...@gmail.com> wrote:
> <C-S-i> or <S-C-i> or <S-Tab>: the mapping shows up in my map, but there is
> an additional new mapping for <C-i> (which is the same as <Tab>).  After I
> unset that the <C-i> mapping, the <C-S-i> map remains but does not work.  It
> seems vim does not differentiate between <C-S-i> and <C-i>.
>
> <C->> or <C-S-.>:  Again, the mapping shows up in my map, but vim seems to
> be losing the CTRL.  In insert mode, a > is inserted into the buffer.
> <C-<> or <C-S-,>:  Same as above.
>

Vim cannot distinguish between the ctrl- and the ctrl-shift version of
printable characters. IIUC some GUI-enabled Vims might be able to but
I have never had this luck.

ALT mappings can be case-sensitive however.

This is a limitation of the way Vim handles keyboard events. You won't
be able to get around it.

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

No comments: