Vim users, what’s your favorite plugin to automatically switch between `bg=dark` and `bg=light` based on macOS’s dark mode?

I’m not using MacVim, so I can’t rely on `OSAppearanceChanged`, sadly.

A way to do this would be adding an `autocmd` that calls out to `defaults read -g AppleInterfaceStyle` and updates the `bg` value if needed.

I might wrap that in a plugin if it doesn’t exist yet.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!