> > 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. > > 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.
OpenSUSE 10.2 uses packages xorg-x11-7.2-*. However, vim is getting the proper Alt/Meta keycodes, because the same hotkey works in normal mode, but it is ignored when gvim is in insert mode. How this can be related to X? Doesn't some gvim property propagate back to X making the misunderstanding? > You may try to start YaST then the "Hardware => Keyboard layout" module; I'm > not sure how to set it up though. I have tried different "setxkbmap" instead, no success. --- P.M.
