On 11/07/12 21:18, Suresh Govindachar wrote:
> [ how to distinguish between lower and upper case X in
>    the following imaps ]
> 
>  >   :imap <C-x> <Delete>
>  >   :imap <C-X> <BS>
> 
> Use <C-S- (S for shift), for example:
> 
>      :imap <C-S-X> <BS>
>      :imap <C-S-X> <esc>Xi

AFAIK, most versions of Vim don't distinguish between <C-{letter}>
and <C-S-{letter}> as they send the same ASCII code.  You might be
able to distinguish between, say <C-F2> and <C-S-F2> if you wanted
to use the function keys.  Likewise, I don't think control+number is
caught in most cases, let alone control+shift+number (the exception
being control+@ and control+^ both of which Vim uses, but can be
remapped).

-tim


-- 
You received this message from the "vim_use" 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

Reply via email to