Wednesday, August 8, 2012

Re: vim: bind ctrl+shift+aletter

On 2012-08-08, ping wrote:
> guys:
> is there a way to bind ctrl+shift+p differently that ctrl-p ?
> google told me NO, since they are the same "key code".
> just double check to experts here as last hope or any close workaround...

You can find out for yourself by entering insert mode and typing
Ctrl-V followed by each of the key combinations you want to try.
I tried on Linux using vim in a terminal and gvim and both key
combinations produced the same result in both cases: ^P. If Vim
doesn't distinguish between the key combinations in that situation,
it can't when you use them in mappings, either. See

:help i_CTRL-V

Regards,
Gary

--
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

No comments: