Skip to content

Distributed notifications not being sent (kindaVimDidEnterNormalMode etc.) #340

@Nickcom4

Description

@Nickcom4

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:

  • kindaVimDidEnterNormalMode
  • kindaVimDidExitNormalMode
  • kindaVimDidEnterInsertMode
  • kindaVimDidEnterVisualMode

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 = 1 in 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions