Skip to content

Neovim

The editor. The neovim unit installs it without a configuration.

The config-nvim unit, when adopted: init.lua, lua/, ftplugin/, colors/ and bin/, linked into ~/.config/nvim/.

Feature How to use it
Theme :SetTheme coucou sets the colour scheme. --auto follows the desktop’s light or dark mode (the default), --light and --dark fix it. --bg=transparent shows the terminal’s background, --bg=black makes it black
Live Markdown preview Alt + P opens a GTK 4 window that updates block by block, maths included
Python Pyright completion and diagnostics, plus Ruff linting.
PlantUML Highlighting, linting, completion, and a live preview window. :PumlFromJava draws a class diagram from Java sources, and :PumlExport exports it

Without plantuml-lsp, PlantUML has no completion. Without MathJax, the preview shows maths as TeX.

Key Does
Space The leader key
Space e Shows or hides the file tree
Tab / Shift + Tab Next / previous open file
Space x Closes the file. Space X discards its changes
Space h j k l Goes to the window on the left, below, above, on the right
gz Shows the diagnostic under the cursor

The other keys are in config/nvim/lua/keymaps.lua.