Last active
February 24, 2025 01:09
-
-
Save gsuuon/9ee105991882290624dee665f98dca81 to your computer and use it in GitHub Desktop.
Send system notifications from neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function notify(text) | |
vim.loop.new_tty(2, false):write('\x1b]9;' .. text .. '\07') | |
end | |
notify('hey') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment