Skip to content

Instantly share code, notes, and snippets.

@svetlyak40wt
Created September 19, 2012 07:43
Show Gist options
  • Save svetlyak40wt/3748238 to your computer and use it in GitHub Desktop.
Save svetlyak40wt/3748238 to your computer and use it in GitHub Desktop.
A part of Vim config to switch between Russian and English keymaps.
nnoremap <Leader>r :set keymap=russian-jcuken<CR>
nnoremap <Leader>e :set keymap=<CR>
inoremap <Leader>r <ESC>:set keymap=russian-jcuken<CR>a
inoremap <Leader>e <ESC>:set keymap=<CR>a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment