Hi,
we have a bug report that keybindings with Alt does not work in gvim if
the X input method is enabled:
Testcase
:set wak=no # disable keybindings for the menu
:tabnew
:map <M-1> 1gt
:map <M-2> 2gt
This should allow you to switch with Alt-1 and Alt-2 between tabs, but this
does not work. The workaround is to disable X input method
(with ":set imdisable"). Then it works.
Maybe there's some relation to
http://bugzilla.gnome.org/show_bug.cgi?id=331369.
In the code it seems that GtkEventKey->state field has set Meta1 correctly. So
the code in (vim) gui_gtk_x11.c:key_press_event() seems to be the cause.
Regards,
Matthias