There is bug in vim...

According to :help :map-alt-keys :

By default Vim assumes that pressing the ALT key sets the 8th bit
of a typed character.

This is wrong for 8-bit non-ascii locales.  Example:

:imap <M-i> something

maps CYRILLIC CAPITAL I (in KOI8-R locale) instead of Alt-I.

Also, vim suggests to set "convert-meta" to "on" in inputrc which
is also wrong for 8-bit non-ascii locales.

Finally, typing <C-V><M-i> in insert mode gives me the same
CYRILLIC CAPITAL I...


I think there should be option for Meta handling...

-- 
Regards,
Sir Raorn.

Attachment: signature.asc
Description: Digital signature

Reply via email to