Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's files are a shopping list, a pangram and a six-line Lua program, invented for the purpose.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 11 names what the tool cannot do: the inherited learning curve, the per-language server homework behind IDE features, an ecosystem that rewrites itself and rots copied configurations, the config as a program with failure modes, the terminal's ceiling, and the deliberately local, single-person frame.
- The trust rule is in the text, early. Chapter 1 and the README state plainly — before any chapter asks the reader to install anything — that a plugin is a program running with the reader's full user powers, and chapter 6 repeats the rule at the moment of installing.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox.
Neovim 0.12.6 was installed from the official release
tarball (nvim-linux-x86_64.tar.gz, GitHub releases) — not the
AppImage, which needs a FUSE device the sandbox does not have —
and exercised entirely in headless mode, with its XDG folders
pointed at the lab so no real configuration was touched. All
transcripts live in neovim-lab/transcripts/; the lab's
configuration is neovim-lab/config/init.lua, its driver
scripts neovim-lab/scripts/, its hand-written plugin
neovim-lab/plugin/labgreet.lua, and its specimen files
neovim-lab/files/.
Run for real, with transcripts as evidence:
- Version printout of the release tarball binary (t00), and the four stdpath folders reported by the editor itself (t12).
- A headless Ex-command edit —
%ssubstitution plus an appended line — written to disk and the file read back (t01). - A Normal-mode edit driven by fed keystrokes
(
gg /quick<CR> ciw swift <Esc> A ! <Esc>), the file written and read back (t02). The lab's first attempt fed the keystrokes in separate calls and mangled the line; the transcript keeps the successful single-batch run, and chapter 5 tells the story. - The lab
init.lualoaded at startup; its options (tabstop, expandtab, ignorecase, number), its leader key and its<leader>wmapping all queried headlessly and printed (t03). - A
TextYankPostautocmd firing: a yank in a headless session appended the yanked line to a log file, which was read back (t04). :checkhealthin full (t05) — including the sandbox's own findings the chapters quote: a locale UTF-8 ERROR, a no-clipboard-tool WARNING, missing runtime providers, and the seven bundled Tree-sitter parsers each OK.- Tree-sitter with a bundled parser: a Lua file parsed, its
root node (
chunk) and top-level children (function_declaration,function_call) printed, and the highlighter started (t06). - Installing a further parser with the nvim-treesitter
plugin, failures included:
:TSInstallSyncis gone from the rewritten plugin (E492), the install then failed for want of the standalonetree-sitterCLI (ENOENT), and with that CLI — the official 0.27.1 release binary — on PATH, the Python parser downloaded, compiled, installed (python.so) and parsed a Python file, root nodemodule(t07). - The built-in LSP client against a real server:
lua-language-server 3.19.2 (official release tarball),
configured with
vim.lsp.configand enabled withvim.lsp.enable, attached to a specimen project, and a definition request from a call on line 5 answered with the definition on line 1 (t08). The first attempt crashed on the answer's shape — this server returns a LocationLink (targetUri), not a Location (uri) — and chapter 8 keeps the lesson. vim.packinstalling a real plugin (mini.nvim from GitHub), after which a module of it (mini.comment) was required and set up (t09); and a five-line plugin written by the lab, installed by hand undersite/pack/lab/start/, auto-loaded, and its:LabGreetcommand run to edit a file on disk (t09b).- A deliberately broken
init.lua, whose startup error (E5112, file and line named) was captured (t10); a config silently skipped when XDG_CONFIG_HOME points elsewhere, proven by the default tabstop 8 against the configured 4 (t12); text piped into Neovim on stdin, written out and read back (t11); and a two-fileargdosubstitution verified from outside with grep, before and after (t13).
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- The AppImage install route and its
--appimage-extractworkaround; the lab had no FUSE device and used the tarball. Windows and macOS install routes and paths. - The interactive screen as a lived experience: motions, splits and the mode display are taught from the same keystrokes the lab drove headlessly (t02) plus the documentation; a terminal UI in a real terminal leaves no transcript to keep.
- lazy.nvim and the wider plugin-manager landscape
(chapter 6 ran
vim.packand the by-hand route; both are underneath the same runtimepath mechanism the transcripts verify). - The LSP features beyond the verified attach and
definition round trip (completion, diagnostics, rename,
formatting), and the conventional LspAttach keymap
pattern — presented as the client's documented surface
under
:help vim.lsp.bufand:help lsp-quickstart. - The git
core.editorrecipe (chapter 9), a documented one-line setting rather than a lab run. - The comparison tools in chapter 10 are characterised, not benchmarked.
Fixtures are this guide's own and deliberately generic: a shopping list with a typo, the quick-brown-fox pangram, a café menu pair for the batch edit, and a six-line Lua program whose function is defined on line 1 and called on line 5. No example is modelled on any real person, service or organisation.