A
A
Azat S.2016-08-02 16:26:27
vim
Azat S., 2016-08-02 16:26:27

Switching language when entering Vim command mode?

Is it possible in Vim to make it so that when switching to command mode, if the input mode was Russian, then it would automatically change to English?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Biryukov-Romanov, 2016-08-02
@urtow

Here is the solution https://habrahabr.ru/post/98393/
In the comments there is a solution for switching the language by ESC:

imap :!setxkbmap us:!setxkbmap us,ru
nmap :!setxkbmap us:!setxkbmap us,ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question