You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a Keyboard Input of "US International PC" to actually type " I need to press " followed by space (which is fine). But it's not handled properly in VimR. It's all ok in insert mode but in operator-pending mode is not handled like in neovim in terminal or MacVim.
Let me explain with an example , I use surround.vim to change single quotes to double quotes with cs'" which in my case should be typed as cs' " . When I type that in VimR it gets interpreted as cs' and thus it changes single quotes to spaces. If I type cs'" nothing happens.
So VimR is handling keypresses diferently than neovim in iTerm
The text was updated successfully, but these errors were encountered:
Maybe from there the developers of VimR can get a hint on what is wrong in VimR handling of macOS input methods.
A good testcase is to input the following text in the buffer:
This text contain the swedish letter ö and the swedish letter ä but also " (the double quote symbol)
With the "U.S International PC" keyboard layout, pressing 0f"a should jump to the letter ä in the buffer but right not it jumps directly to the " as soon as I type 0f". In this keyboard layout pressing the quote doesn't really output a quote, it enters an state where it waits the next key if the next key is a it will produce ä. if the next key is space then it will output ". So f"a it's really fä.
When using a Keyboard Input of "US International PC" to actually type " I need to press " followed by space (which is fine). But it's not handled properly in VimR. It's all ok in insert mode but in operator-pending mode is not handled like in neovim in terminal or MacVim.
Let me explain with an example , I use surround.vim to change single quotes to double quotes with cs'" which in my case should be typed as cs' " . When I type that in VimR it gets interpreted as cs' and thus it changes single quotes to spaces. If I type cs'" nothing happens.
So VimR is handling keypresses diferently than neovim in iTerm
The text was updated successfully, but these errors were encountered: