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

Configuration

Overriding Options

Since np uses standard NixVim, customize by overriding options:

{
  imports = [ inputs.np.nixvimModules.base ];

  # Disable a base LSP
  lsp.servers.nil_ls.enable = false;

  # Add a custom plugin
  plugins = {
    myPlugin = {
      enable = true;
      # Config
    };
  };

  # Change keymaps
  keymaps = [
    {
      key = "<leader>f";
      action = ":Telescope find_files<CR>";
    }
  ];
}

Shrinking the Config

Remove unwanted parts by setting enable = false on modules.

Extending

Add your own modules or presets on top.

No Custom Options

Remember, np has no custom Nix options—only NixVim's.