Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Plugin Development

A plugin is pure Lua over the nx.* API — a lua/<name>/init.lua module that exposes setup(opts) and wires keymaps, commands, autocmds, and UI through nx.*. The server owns the UI surfaces; the plugin supplies data and behavior.

Install one by declaring it with the built-in manager and running :PluginSync:

nx.plugins({
  { "davidrios/nxvim-keys-helper",
    config = function() require("nxvim-keys-helper").setup({}) end },
})

Where to go next

  • Writing plugins — the full authoring guide: anatomy, loading, the nx.* surfaces you’ll use, a worked example, and testing.
  • nx.* API Reference — every public function in the nx.* namespace, generated from the prelude source.