On 20/01/10 21:48, Sergey Vakulenko wrote:
Hello Everyone
I have been fighting long time with strange behaivor which occurs,
when i was typing default map of '7' character in french layout, and
now, i found the cause,
when i map<a-h> mapping on anything (example map<a-h> :hello),
default map '7' (in french č) will become remapped by<a-h> map.
Tested on my home and work machines (win32).
Yes, this is known behaviour. Vim represents the Alt modifier by setting
the high bit, so Alt+h (0x80 + 0x68) is undistinguishable from č
(e-grave, 0xE8). This kind of collision applies to all "Alt + printable
key" and "Alt + Ctrl + printable key" combinations, though for Alt+Ctrl
it is often less annoying since Alt+Ctrl+printable combinations (i.e.
0x80 to 0x9F) are unprintable control characters in Latin1 (and
therefore in Unicode, since Unicode codepoints U+0000 through U+00FF
reflect Latin1 characters 0x00 through 0xFF respectively). However in
Windows-1252 and Latin9 (aka ISO-8859-15), both of which are otherwise
identical with Latin1 (and therefore often confused with it), two
different sets of 32 printable characters have replaced those
little-used "extended control characters" of Latin1.
Best regards,
Tony.
--
The net of law is spread so wide,
No sinner from its sweep may hide.
Its meshes are so fine and strong,
They take in every child of wrong.
O wondrous web of mystery!
Big fish alone escape from thee!
-- James Jeffrey Roche
--
You received this message from the "vim_dev" 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
To unsubscribe from this group, send email to vim_dev+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.