vim-xkbswitch icon indicating copy to clipboard operation
vim-xkbswitch copied to clipboard

Локализованные хоткеи в Gvim в Ubuntu

Open DeXP opened this issue 11 years ago • 2 comments

По хоткею "< 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

DeXP avatar Apr 07 '13 16:04 DeXP

Ошибка воспроизводится только в Gvim. В консольной версии всё работает нормально

DeXP avatar Apr 07 '13 18:04 DeXP

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

lyokha avatar Apr 08 '13 18:04 lyokha