Personal nvim config for coding in *nix terminals, plus a Makefile that
installs it (with nvim and its tools) on a new machine, including those without
an internet connection.
Usage docs: docs/.
make initialize # downloads/builds into build/, then opens nvim once to install plugins and tools
make install # installs into ~/.local/{bin,sources,share} and ~/.configOVERWRITE_INSTALLATION=1: replace an existing installBUNDLE_ALL=1: bundle every tool, for a host without internet (copy this directory,build/included, over and runmake installthere). Without it, fd, rg and node/npm already on the host are used instead of downloaded, andbuild/only works on that hostCONFIG_REPO_URL=https://github.com/seantronsen/neovim-config.git: clone without a GitHub ssh key (the default is ssh)
install only links fd, rg and node/npm into ~/.local/bin when they aren't
already on PATH. tree-sitter (build only) comes from the host when it's >=
0.26.1, else the host's cargo builds it, else a throwaway rust toolchain.
-
neovim
$\geq$ v0.12.5 - find-fd
- ripgrep
- python v3.* with the
venvmodule (python3-venvon Debian/Ubuntu), which mason needs for python based tools - nodejs
$\geq$ v18 - optional: tree-sitter-cli
$\geq$ v0.26.1 and a C compiler, only to install parsers beyond the bundled ones
The
Makefilebased installer will handle everything except for the installation ofpython3. Almost all modern*nixsystems come with such an installation, so for brevity that one's been left out.