-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Description
I'm trying to use Hammerspoon to display a menu bar indicator for the current KindaVim mode. According to the docs and Discussion #117, KindaVim should send distributed notifications like:
kindaVimDidEnterNormalModekindaVimDidExitNormalModekindaVimDidEnterInsertModekindaVimDidEnterVisualMode
Problem
When I listen for these notifications in Hammerspoon using hs.distributednotifications, nothing is received when switching modes. I've verified the listener is working by logging ALL distributed notifications - KindaVim doesn't appear to be sending any.
My Setup
- macOS: 26.0
- KindaVim: 83
- Hammerspoon: 1.0.0
enableKarabinerElementsIntegration = 1in preferences
Hammerspoon Test Code
local watcher = hs.distributednotifications.new(function(name, object, userInfo)
print("Notification: " .. tostring(name))
hs.alert.show("Got: " .. tostring(name))
end)
watcher:start()When switching between Normal/Insert modes in KindaVim, no notifications are received. The watcher is confirmed working (it catches other system notifications).
Question
Are distributed notifications still supported in KindaVim 83? Is there a preference setting to enable them, or has this feature been removed/changed?