-
Problem statement: I use 2 language input sources on my machine. Sometimes I need to edit text, which is not English (e.g. Russian). When I want to use vim motions while Russian in selected as lang input source, ideavim bindings don't work. In Neovim, it can be solved using something like https://github.com/Wansmer/langmapper.nvim. Is there a way I can use vim motions without switching my keyboard input source to English every time? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can see two ways, actually:
P.S. The script I wrote should work, but you should be cautious when writing your own scripts—as not all Vim Script language functions are supported in IdeaVim |
Beta Was this translation helpful? Give feedback.
I can see two ways, actually:
map й q
It is possible to write a small script to do all the necessary mappings according to your layout. Here is the code:
P.S. The script I wrote should work, but you should be cautious when writing your own scripts—as not all Vim Script language functions are supported in IdeaVim