No description
Find a file
2026-03-27 15:56:36 +01:00
base-config add linediff plugin 2026-03-03 16:00:51 +01:00
extended-config [blink-cmp] disable default keybindings (were messing with digraphs) 2026-03-27 15:53:45 +01:00
flake.lock update flake 2026-03-27 15:56:36 +01:00
flake.nix Allow to have different version build (Slim, Nix and default) 2026-01-07 15:41:35 +01:00
nvimNix-config.nix Allow to have different version build (Slim, Nix and default) 2026-01-07 15:41:35 +01:00
README.md Allow to have different version build (Slim, Nix and default) 2026-01-07 15:41:35 +01:00

Nixvim template

This template gives you a good starting point for configuring Nixvim standalone.

Created modules

This flake creates several versions of nixvim

  1. nvim (or default) which is the full set of functionalities,
  2. nvimSlim, that only contains the configuration in the base-config/ directory. Most prominently, this configuration is excluding lsp serveres and other third-party tools, which might be too much for remote systems.
  3. nvimNix, which is nixvim-slim + an lsp for nix

Configuring

To start configuring, just add or modify the nix files in ./base-config and ./extended-config/.

Included files

The configuration file includes some nix magic, so that all files in the ./xx-config and the ./config/plugins/ directory are automatically loaded. Further, the contents of ./xx-config/ftplugin/<language>.nix are converted to file."ftplugin/<language>.lua attributes of the config, so that any relevant filetype-specific settings can be done right there, and are also automatically considered.

To exclude a file, just rename its file-ending, e.g., to config.nix.excl

Testing your new configuration

To test your configuration simply run the following command

nix run .