A minimal, keyboard-first setup for coding and reviewing changes.
- View the Keymap cheatsheet
- Read about basic commands on my blog
With Nix and flakes enabled, Neovim and its CLI tools are provided for you.
Try without installing:
nix run github:rxtsel/nvimOr install in your user profile:
nix profile add github:rxtsel/nvim
nvimThe Nix package keeps its configuration and plugin data separate from your regular Neovim setup.
For installation without Nix:
- Neovim 0.12+ and a Nerd Font.
- Git.
- Tree-sitter CLI 0.26.1+ and a C compiler: GCC or Clang. Install the CLI through your package manager, not npm.
- Node.js 22+, including npm.
- curl, tar, gzip, and unzip.
- ripgrep and fd.
- Lazygit and delta.
- rustfmt for Rust and Alejandra for Nix formatting.
- A clipboard provider: wl-clipboard for Wayland or xclip for X11. macOS uses its built-in clipboard tools.
Mason installs the configured language servers and remaining formatters on startup. With Nix, those tools are supplied by the flake instead.
Lazygit's optional git cz action needs Commitizen or a compatible command such as czg. Its editor and commit bindings use a separate ~/.config/lazygit/config.yml.
Back up any existing ~/.config/nvim configuration, then:
git clone https://github.com/rxtsel/nvim ~/.config/nvim
nvimOn first launch, confirm the plugin installation prompt and let parsers and language tools finish installing. Internet access is required.
For Copilot suggestions, run :Copilot auth once with a GitHub account that has Copilot access.