npm i -g neovim # this package is required
Lazy spec:
local M = {
"nodetec/nostr.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
},
build = { "npm install", "npm run build", ":UpdateRemotePlugins" },
}
function M.config()
require("nostr").setup {}
end
return M
To get started run the command:
:NostrGenerateConfig
This will create a config file at ~/.local/share/nostr.nvim/config.json
where you can change your nsec
and npub
if you already have a keypair.
:NostrSendNote Hello Nostr from Neovim!
If you're having issues with the commands not being available try running:
:UpdateRemotePlugins