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

<M-d> mapping interfering with inserting a-umlaut (ä)

Open fintelkai opened this issue 11 years ago • 10 comments

I would love to figure out how to disable the <M-d> mapping, so I can enter "ä" in emails to German correspondents. I tried

iunmap <M-d> 

late in my .vimrc but that doesn't do the trick.

fintelkai avatar Apr 16 '13 16:04 fintelkai

What kind of Vim?

On Tue, Apr 16, 2013 at 12:44 PM, fintelkai [email protected]:

I would love to figure out how to disable the <M-d> mapping, so I can enter "ä" in emails to German correspondents. I tried

iunmap <M-d>

late in my .vimrc but that doesn't do the trick.

— Reply to this email directly or view it on GitHubhttps://github.com/tpope/vim-rsi/issues/5 .

tpope avatar Apr 16 '13 16:04 tpope

MacVim and mvim in iTerm.

On Tuesday, April 16, 2013, Tim Pope wrote:

What kind of Vim?

On Tue, Apr 16, 2013 at 12:44 PM, fintelkai <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>wrote:

I would love to figure out how to disable the <M-d> mapping, so I can enter "ä" in emails to German correspondents. I tried

iunmap <M-d>

late in my .vimrc but that doesn't do the trick.

— Reply to this email directly or view it on GitHub< https://github.com/tpope/vim-rsi/issues/5> .

— Reply to this email directly or view it on GitHubhttps://github.com/tpope/vim-rsi/issues/5#issuecomment-16457130 .

fintelkai avatar Apr 16 '13 17:04 fintelkai

Same on Debian with both terminal and GVim, version 7.3.932-3.

I use a Swiss keyboard with this XKB configuration, incidentally the problem also occurs if I press the digraph compose key present on the keyboard, followed by an 'a'.

toupeira avatar Jul 12 '13 13:07 toupeira

You can iunmap in after/plugin/rsi.vim. Having an option to disable the meta maps wouldn't be a terrible idea.

tpope avatar Aug 02 '13 01:08 tpope

Thanks, that did the trick, together with nunmap and cunmap.

toupeira avatar Aug 02 '13 01:08 toupeira

It interferes with my Swedish "ä" too. :(

ingemar avatar Sep 05 '13 09:09 ingemar

@ingemar, try putting the following into ~/.vim/after/plugin/rsi.vim:

silent! iunmap <M-d>
silent! nunmap <M-d>
silent! cunmap <M-d>

toupeira avatar Sep 05 '13 09:09 toupeira

Thanks @toupeira. (Mainly wanted to poke tpope about it.. ;) )

ingemar avatar Sep 05 '13 12:09 ingemar

Stumbled upon this problem too here in Estonia.

moll avatar Feb 16 '14 21:02 moll

To be more explicit, I'd accept a g:rsi_no_meta patch.

tpope avatar Feb 16 '14 22:02 tpope