-
Notifications
You must be signed in to change notification settings - Fork 4
Description
First of all, thank you for this outstanding piece of software. This is the most promising system-wide Vim implementation I've tried so far. I'm using it mostly to replace Xcode 13's subpar Vim implementation now that they killed XVim.
There's one issue that keep tripping me up though: the Normal mode is lost regularly and I don't realise it until after I typed a few characters. For example:
- When switching to a different window, and coming back.
- When clicking (with the mouse, ew) on a different caret location.
- When triggering a passthrough keyboard shortcut (e.g. Cmd-S which I keep hitting so much it might be pathological).
Here's a live action movie of the issue:
lost-normal.mov
Ideally, in all these scenarii I would like kindaVim to stay (or at least restore) the Normal mode. But if at least the current selection (selected character simulating the block caret of Vim normal mode) was discarded when switching to Insert mode implicitly, I think the visual feedback would help.
Not sure if that would be useful, but the kAXFocusedUIElementChangedNotification
and AXObserverAddNotification
seem relevant for the issue when switching to a different window / UI control.
Thank you!