qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.66k stars 218 forks source link

Weird bug with keyboard layout #1046

Open BernhardBln opened 8 months ago

BernhardBln commented 8 months ago

Just installed vimr via brew.

I'm experiencing a weird bug when switching between insert and normal mode, that I do not have when I use vim in iTerm.

I have four different keyboard layouts on my machine (German, US, Russian and Portuguese), German is the default, but when editing files with vimr I prefer to use US.

So I'm in insert mode, realise my current layout is German, so I switch to US. I can type something, all good, but then when pressing escape to enter normal mode, it switches back to German. Basically every time I'm switching modes, which is mega annoying.

Not sure if it helps, but I actually do not press the escape button on my keyboard, but the caps lock, which I have configured to serve as CTRL when pressed in combination with another key, or as ESCAPE when pressed alone and released. Don't think that's the problem though, as mentioned in vim in iTerm that does not happen.