On 15/08/09 16:16, Robert Mark Bram wrote:
>
> Hi Tony,
>
>>> Is it possible to map to control+number or control+`?
>
>> You can map any key that Vim knows about. In particular, you can map 1
>> or ` by themselves, these are ordinary "printable" keys.
>>
>> What concerns the Ctrl + printable key combinations, Vim knows only
>> those defined by ASCII, as follows:
>>
>> - Ctrl + anything in the range [0x40-0x5F] = the original key minus 0x40
>> - Ctrl + lowercase [a-z] = Ctrl + the corresponding uppercase
>> - Ctrl + ? = 0x7F
>>
>> ` (backtick, 0x60) and 1 (one, 0x31) fall in none of the above
>> categories, so Vim doesn't know about their Ctrl combinations.
>
> Thank you very much for this clear explanation - I didn't understand
> what I had read from help, and this really clears it up. Shame I can't
> use any key combo though.
>
> Rob
> :)

You can use Shift-F5 (which is known to have no default binding in Vim, 
so that one is "safe"), Ctrl-Up (which probably does have a default 
binding), Alt-d (which is known to be seen by Vim as synonymous with รค 
aka a-umlaut, so it's probably a bad choice in Insert mode if you 
occasionally type German text), etc.


Best regards,
Tony.
-- 
Uncle Ed's Rule of Thumb:
        Never use your thumb for a rule.  You'll either hit it with a
hammmer or get a splinter in it.

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

Reply via email to