godbout / kindaVim.docs

Ultimate Vim Mode for macOS
https://kindavim.app
638 stars 4 forks source link

making kV work with key remappers like Hyperkey #104

Closed godbout closed 2 years ago

godbout commented 2 years ago

Karabiner-Elements works because it is a keyboard driver that replaces the Apple ones. but for key remappers like Hyperkey and Hammerspoon, they place an event tap in the event stream. kV does the same. there's a conflict in priorities.

a temporary workaround that sucks ass is to start kV AFTER the key remappers. need to find a better solution for this.

godbout commented 2 years ago

thinking about it, rather than using the global event stream maybe i can use a private one? for sending keys back? something where i don't get back my own events? should i open a second beer now?

godbout commented 2 years ago

using a private KeyboardEventSource doesn't change anything.

godbout commented 2 years ago

done in kV38: https://github.com/godbout/kindaVim.docs/releases/tag/38