Skip to content

nodetec/nostr.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nostr.nvim

demo

Install

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

Getting Started

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.

Post a note to nostr

:NostrSendNote Hello Nostr from Neovim!

Troubleshooting

If you're having issues with the commands not being available try running:

:UpdateRemotePlugins