vim-xkbswitch
vim-xkbswitch copied to clipboard
Локализованные хоткеи в Gvim в Ubuntu
По хоткею "< C-N >v" у меня стоит NerdTree. Плагин создаёт локализованный хоткей "< C-N >м". Однако моя убунта посылает "< C-рус.Т >м" и NerdTree не запускается
$ uname -a
Linux dxp-7750G 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Ошибка воспроизводится только в Gvim. В консольной версии всё работает нормально
In latest commit character translations inside control sequences was implemented (like <C-S> => <C-Ы>), but it did not help. So the issue needs further investigation. To check the feature put in .vimrc lines
let g:XkbSwitchIMappingsTrCtrl = 1
Originally it was intended to be used like
if has('gui_running') && has('unix')
let g:XkbSwitchIMappingsTrCtrl = 1
endif