Tuesday, November 29, 2016

English and Russian layouts vs mappings

Hi!


Sicne I use both Russian and English keyboard layouts, obviously, I face the usual problem that pressing a Russian letter in Normal mode doesn't produce a command. Luckily, Vim has the `langmap` setting, which allows to tie my Russian keyboard layout with the English one. This makes default commands (like `G` or `yy`) working in Normal mode without switching layouts.

However, _remapped_ commands (like `Y` for `y$`) or Leader-mappings (like `<Leader>b`) still do not work (pressing the latter, for example, results in `word back`, as per `b` command).

Is it possible somehow to make this work? Trying `langremap` or `nolangremap` doesn't affect the situation, too.


Thanks.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: