MisterW wrote:
> Gvim 72 on XP won't let me map certain ctrl key combinations.
> Specifically it won't map any of CTRL 1 through to 10. If I
> type
>
> CTRL-V CTRL-1
>
> I get nothing. Only 2 and 6 actually print anything. Other
> applications make use of these keys, and vim itself uses
> CTRL-6. Is there something that can be done to make this work?

No. The problem is that Vim is designed to be portable; it works
on many operating systems and tries to minimise the amount of
special code used for dealing with a particular OS.

It's not Ctrl-6, it is Ctrl-^ which is part of the venerable
ASCII system. There is a lot more than you want to know at
http://en.wikipedia.org/wiki/ASCII

If you search for "^^" on that page (Ctrl-^) you will see the
list of valid Ctrl keys.

I know this news is a bit shocking, but I've found that as I
learned more of the Vim way of doing things, my desire to map
commands to weird character combinations has declined.

John


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

Reply via email to