Petr Mikulik wrote:
        Hello all,

since a long time, I've used Alt-hotkeys in both normal and insert mode. After an upgrade to OpenSUSE 10.2, the Alt-hotkeys stopped working in insert mode (imap), while they still work in the normal mode (nmap). For example,

:imap <c-i> hello
:imap <a-i> hello
:imap <m-i> hello

=> then in insert mode it is the only Ctrl-I which writes hello, while Alt-I
writes only i. The same in SUSE 10.0 (and older) works OK. I have even tried to compile vim 6.4 and 7.0 from sources, tried gvim under KDE and BlackBox, tried different "winaltkeys" etc, ... but no success.

Could someone help?

Thanks,
  P.M.


I think it's not a Vim problem.

I see that in openSUSE 10.2 the X server program is named Xorg (not just X as in e.g. Novell-SUSE 9.3). Were there other changes in the X setup? I don't know. It it possible to tweak the keyboard interface so that (in cooked input mode) Vim will get the proper Alt/Meta keycodes? I don't know.

You may try to start YaST then the "Hardware => Keyboard layout" module; I'm not sure how to set it up though.


Best regards,
Tony.
--
Today is the first day of the rest of your lossage.

Reply via email to