This idea sounds great. But how can I disable the system-wide mapping
for en_US only?

On 9 апр, 12:22, Anton Sharonov <[email protected]> wrote:
> 2009/4/9 netimen <[email protected]>:
>
>
>
>
>
>
>
> > I have mapped the numpad 4 key to a { symbol using xmodmap for both
> > russian and english layouts:
>
> > keycode 83 = braceleft braceleft braceleft braceleft
>
> > So everywhere except vim that key works like {. But in vim I use
> > russian-jcukenwin keymap for russian language, where I have:
>
> > {       Х       CYRILLIC CAPITAL LETTER HA
>
> > So when I press the numpad 4 key, vim receives it like a { and maps it
> > to russian X. And I can't map the <kLeft> because vim receives
> > { instead of it.
> > Can I map the raw keycode 83 to a { in vim for the russian
> > keymap?
>
> As far as I know, this is impossible.
>
> Additionally to what Tony has suggested... (I see his post during
> I prepare mine :) )
>
> Can the following be the solution for you: disable system-wide
> xmodmap mapping _for_"en_US"_layout_only_, so that VIM sees real
> keypad keys and do what you want entirely in VIM; keep xmodmap
> mappings for system-wide "ru" keyboard layout for other apps ?
>
> --
> Anton
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to