bill lam wrote: > One more question, suppose the system keyboard layout is > russian. In programs other than vim where langmap is not > available, how to press those cmd/alt/meta keys? For > instance, to press <C-Z> (suspense), does it just press ctrl-Я > or need to shift_toggle to us, then press ctrl-Z?
First I always try (half automatically) to switch the keyboard layout back before I try to enter something like CONTROLLED keys, second - I don't work with Cyrillic layout very often. But to answer your question, I just have made several experiments :). And I see there is no consistence in what reaches the application in case you press CONTROLLED key. xterm seems to ignore the fact, that keyboard is switched to Russian and sends to the application just the CTRL+<ASCII keycode> of the pressed key. In GVIM I see that controlled key sends just it's unmodified Cyrillic value. So it is non-standard, and you better to switch the keyboard layout back to us_US before issuing any CONTROLLED key. What helps a bit, usually by input method configuration there is an option, that you can do switching of the input method on "per-window- basis" or "per-application-basis" - don't remember any more what is the right name - so if you switch from app to app the input method is remembered to be the last you have used there. Also interesting, that some apps, (at least on windows, if I remember correctly), are making attempt to handle switched keyboard layout transparently - and for menu accelerators like Alt+_F_ile they just ignoring the fact that keyboard layout is switched to Cyrillic, and although they must theoretically see Alt+_Cyrillic_А they are doing so, like they receive Alt+_ASCII_F_ . -- Anton. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
