XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 595 forks source link

US International Keyboard not working #715

Open juancampa opened 9 years ago

juancampa commented 9 years ago

This keyboard uses what it's known as dead keys:

This mechanism doesn't work well with Xvim: if I want to change the casing of the current character in normal mode by using ~, an actual ~ would be inserted instead, which shouldn't happen since I'm not in insert mode.

Is this something that could be looked at? or should I just forget about using US International? I like this layout because I can write english and spanish with ease.

BTW, I just found this issue which seems to be caused by the same problem: https://github.com/XVimProject/XVim/issues/473

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

JugglerShu commented 9 years ago

I haven't tested yet but set alwaysuseinputsource may solve the problem. Can you check if it solves that? The explanation is here. https://github.com/XVimProject/XVim/blob/master/Documents/Users/FeatureList.md

juancampa commented 9 years ago

Nope, that doesn't fix it :(

JugglerShu commented 9 years ago

How can I reproduce this? I changed my input source to 'US international - PC' and tried to insert ñ character but couldn't..

With the 'US international - PC' input source, In usual text editor (not vim) I typed ~ and n but it results in inputing ~n not ñ

JugglerShu commented 9 years ago

I found how to type ñ. I typed Option + n and then type n. I this what you did?