On 27/04/12 17:45, rameo wrote:
I still have problems mapping keys.

On my keyboard I have these keys I want to map:
<C-ò>
<C-à>
<C-è>
<C-ù>
<C-ì>

Tony once told in a message these info:
ò = (0xF2, o-grave) and <M-r> (Alt+0x72, Alt-r)
à = (0xE0, a-grave) and <M-`> (Alt+0x60, Alt-backtick)
è = (0xE8, e-grave) and <M-h> (Alt+0x68, Alt-h)
ù = (0xF9, u-grave) and <M-y> (Alt+0x79, Alt-y)
ì = (0xEC, i-grave) and <M-l> (Alt+0x6C, Alt-l)

But how to combine these letters to the Ctrl key?



I'm not sure you can.

Try hitting Ctrl-K in Insert mode, followed by the desired key combination, and see if anything appears. If yes, it is the <> form of whatever Vim sees.

Or try hitting Ctrl-V in Insert mode followed by the key combination. Vim will tell you what (if anything) it gets from the keyboard. For instance if you hit Ctrl-V Ctrl-è and Vim inserts è it means that it can't tell the difference between è and Ctrl-è. If you hit Ctrl-V Ctrl-à and Vim doesn't insert anything (and, if 'showcmd' is on, you see that ^V doesn't disappear near the bottom right corner of the Vim screen), then Vim hasn't got anything from the keyboard interface for your Ctrl-à combo.


Best regards,
Tony.
--
The years of peak mental activity are undoubtedly between the ages of
four and eighteen.  At four we know all the questions, at eighteen all
the answers.

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