carbonian.org / manual pages
CARBONIAN-NVIM(1) Carbonian Manual CARBONIAN-NVIM(1)

carbonian-nvim - Neovim with Carbonian's configuration, in its own NVIM_APPNAME apart from ~/.config/nvim

carbonian-nvim [NVIM-ARGS...]
carbonian-nvim --make-default

carbonian-nvim runs nvim(1) with NVIM_APPNAME set to carbonian-nvim, so its configuration, data and state are kept apart from those of a plain nvim: trying it changes nothing in ~/.config/nvim. Its arguments go to nvim as they are.

On the first start it links ~/.config/carbonian-nvim to the configuration in /usr/share/carbonian/nvim, seeds the state directory with the plugin versions Carbonian tested (lazy-lock.json, when the package has one; :Lazy update moves them on from there), and lazy.nvim, cloned from GitHub, installs the plugins. Nothing checks for updates on its own.

The configuration: lazy.nvim, the built-in LSP client (nvim-lspconfig, Mason on demand), treesitter, blink.cmp, snacks.nvim (picker, explorer, terminal, dashboard), which-key, conform, gitsigns, mini, GitHub Copilot when node is installed and Claude Code when the claude command is. The leader is Space, and which-key shows the keys under it. The colour scheme is carbonian-theme's carbonian (habamax without it), which follows the palette.

Notebooks: a .ipynb file opens as text in # %% cells through jupytext (python3-jupytext) and saves back into the same file keeping its outputs. In tmux, cells run in a REPL pane: carbonian-notebook's IPython for Python, R for R, julia for Julia, the figures as sixel pictures. The notebook keys are under Space n; ]] and [[ move between cells.

Make Carbonian's configuration the user's own: link ~/.config/nvim to /usr/share/carbonian/nvim (so a plain nvim uses it), seed ~/.local/state/nvim with lazy-lock.json, and exit. It refuses, with exit status 1, when ~/.config/nvim exists.

Inside Neovim:

:CarbonianDoctor
What the setup finds on the machine and what is missing: git, rg and fd (needed); a C compiler, node, unzip, claude and lazygit (optional); whether Nerd Font icons are on.
:CarbonianLsp
Install the default language servers and formatters with Mason: lua-language-server, bash-language-server, clangd, basedpyright, ruff, marksman, json-lsp, yaml-language-server, stylua, shfmt.

1 turns the Nerd Font icons on, once the terminal's font has the glyphs.
Where the configuration link and the state are (default ~/.config and ~/.local/state).

/usr/share/carbonian/nvim

The configuration (init.lua, lua/carbonian, lua/plugins).
~/.config/carbonian-nvim
A link to it, made on the first start.
~/.local/state/carbonian-nvim/lazy-lock.json
The plugins' pinned versions.
~/.local/share/carbonian-nvim
The plugins and Mason's packages.

nvim(1), carbonian-notebook(1), carbonian-palette(1), carbonian(7)

2026-11-03 Carbonian