XVimProject/XVim

Not picking up keystrokes [$5]

Opened this issue · 0 comments

Operation

I tried mirroring my normal Vim .vimrc as much as possible, however, it seems that XVim is not picking up combined keystrokes.
I'm using a different keyboard layout (not QWERTZ/QWERTY or some slight modification of such), where 'X' is bound to the 'V' key on a QWERTY keyboard, and Option+V is bound to '$'. Pressing Option+V does not move the cursor to the end of the line, as opposed to Vim. (Other bindings, such as ':' or '/' does not work either, since they're activated similarly).

A similar, and possibly related issue, is that Shift bindings do not work. I have nnoremap <S-n> <C-e> bindings in my .vimrc, but XVim simply ignores them and disables the bindings without shift.

I've attached my keyboard layout, which you can use to test the settings. You have to drop the .keylayout file into /Library/Keyboard layouts and then activate it in the settings. (I have unbound capslock, and bound it to option, control to cmd and command to control, but that's not strictly required for testing).

Attached source: bone2.keylayout.zip

Expected behaviour

Should behave the same as Vim, and execute the command for the emitted glyph (for example '$').

Environments

  • Xcode Version [Version 7.3 (7D175)]
  • XVim branch and revision [809527b]
  • Keyboard Language [custom]
  • Input source language [custom]


There is a $5 open bounty on this issue. Add to the bounty at Bountysource.