On 01/02/09 18:29, Cyril Slobin wrote:
> On Sun, Feb 1, 2009 at 7:43 PM, Tony Mechelynck
> <[email protected]> wrote:
>
>> t f etc.). Use 'langmap' if your keyboard normally sends non-Latin text
>> (Cyrillic, Greek, Hebrew, Arabic, whatever) and you want to change the
>> interpretation in Normal and Command-line modes.
>
> Plea from a Russian Vim user: 'langmap' doesn't work with
> encodig=utf8, and who is using 8-bit encodings today? Therefore
> 'keymap' is the only option, but to have two different keyboard
> switches (one for Vim and other system-wide) is a pain. Last time I
> have checked, fixing 'langmap' for unicode has a very low priority.
> :-(
>
Actually, according to the help (last paragraph above ":help greek"),
'langmap' may be specified using multi-byte characters, but it will use
them modulo 256. Two different keys will still produce different results
unless their Cyrillic characters are at a "distance" which is an integer
multiple of 256 in the Unicode standard. (This is assuming that the
codepoint rank is used. If, instead, Vim uses the leader byte or the
last trailer byte, then IMHO the help would deserve a clarification.)
As for Vim vs. system-wide, do you mean you never use the shell command
line? Well, I suppose there are people nowadays who have never heard of
any of COMMAND.COM, cmd.exe, Terminal.app, xterm, konsole or
gnome-terminal, not to mention a plain old text-only console. Or else,
maybe on your system it takes all its commands in Cyrillic?
Best regards,
Tony.
--
"I don't believe in astrology. But then I'm an Aquarius, and Aquarians
don't believe in astrology."
-- James R. F. Quirk
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---