Open seebi opened 10 years ago
That seems to be caused by <M-d>
mapping here.
Here's how I debugged (classic US keyboard btw):
let g:loaded_rsi=1
in .vimrcset macmeta
in .vimrcnoremap! <M-d> <C-O>dw
and alt-d does not produce ä in insert mode anymoreTheory why this happens (I'm not 100% sure on this):
d
is represented with ascii 01100100
(that's 100 in decimal)meta-d
is the same as d
but with highest binary bit set to 1 - 11100100
(that's 228 decimal)11100100
on the extended ascii page and you see it's umlaut-a character ä<M-d>
is ä (and vice versa I suppose). When M-d
is remapped, ä is changed as wellI hope this helps. I don't know the solution.
I'm afraid the only solution will be an option to turn off the meta maps.
Another option is to revert the <M-d>
mapping in ~/.vim/after/plugin/rsi.vim
:
iunmap <M-d>
cunmap <M-d>
if !has("gui_running")
set <F31>=
unmap! <F31>
unmap <F31>
endif
edit: Just realized with Neovim this isn't necessary anymore.
This is also the case when using the danish keyboard layout, where vim-rsi breaks the "æ" key.
using vim-rsi, unfortunately I can not use my ä-key anymore ...