zhangyuting / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Avoid interpreting kepress '`' + 'i" as 'ì' instead of '`i' and going to the respective mark on the English International Keyboard on Windows #255

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I run gVim7.4 on Windows 7 with the English International keyboard. 

It configured in a way so that pressing '`' + 'i' gives you 'ì'. In Vim insert 
mode that's the desired behavior. However it isn't in command mode where I 
effectively have to press '`' + ' ' + 'i' to go to the mark 'i'.

I observed similar behavior for the caret '^' key. Pressing it makes vim wait 
for a vowel to be able to render 'â', 'î' etc instead of directly going to be 
beginning of the line. It only goes there when I press '^' + ' '. In insert 
mode it's useful to be able to type 'â'. It isn't in command mode and there 
it's completely useless to wait for another character. I thereby propose that 
vim looks directly for whether the '`' key or the '^' gets pressed and doesn't 
wait for a character.

Original issue reported on code.google.com by christia...@gmail.com on 8 Sep 2014 at 12:01

GoogleCodeExporter commented 9 years ago
Have you got key mappings set up for this, eg in your .vimrc file? It sounds 
like you might have used the :map command (sets up a mapping in all modes), 
when you wanted the :imap command, which sets a mapping only in insert mode.

Original comment by matthew....@gmail.com on 17 Sep 2014 at 7:40