A complete walkthrough of a production‑grade Neovim configuration. Covers the modular directory layout, bootstrapping with lazy.nvim, per‑filetype engineering, custom Lua automation functions, programmable snippets, a deterministic colour stack, and a hand‑picked plugin dashboard. Every design decision is explained, and the full source is included so you can reproduce the environment on any machine.
... Read MoreAll Categories » vim (1-15 / 30 articles)
Learn Vim, the powerful text editor used by programmers, system administrators, and power users. Our tutorials and tips will help you master Vim and improve your productivity.
This final article in the series examines the plugin layer that completes the Neovim configuration. It covers Treesitter syntax parsing, nvim‑cmp completion with LuaSnip integration, Mason for LSP management, and a minimal bufferline. Every plugin is justified by a clear engineering need, and the complete plugins/core.lua is dissected.
... Read MoreThis article dissects the keymaps and commands layer of a production Neovim configuration. It shows how every keybinding and user command is deliberately wired to custom functions, how the ranger file manager is integrated, and how buffer‑wrapping utilities provide seamless file‑format conversion workflows.
... Read MoreThis article dissects the colours and highlight configuration of a production Neovim setup. It covers the dual‑theme fallback (Nordic/Tokyonight), transparent backgrounds, custom cursor and bufferline highlights, and the autocommand that ensures visual consistency no matter what plugins are loaded.
... Read MoreThis article dissects the LuaSnip integration inside a Neovim configuration, showing how dynamic snippets, external file injection, and auto‑numbering environments turn text expansion into a programmable, context‑aware engine. All snippet files are examined line by line.
... Read MoreThis article dissects the custom Lua functions that power the everyday operations of a production Neovim setup. From asynchronous Python and LaTeX runners to a searchable command history and register viewer, it shows how to embed IDE‑like utilities directly into the editor without plugins.
... Read MoreThis article explores the filetype‑specific layer of a Neovim configuration. It dissects each ftplugin file, the shared html_markdown_maps module, and the design pattern that eliminates duplication while keeping every filetype feel native.
... Read MoreThis article dissects the bootstrapping layer of a production Neovim configuration. It covers the init.lua entry point, lazy.nvim self‑loading, early colourscheme fallback, and the modular philosophy that makes the environment robust, fast, and completely reproducible.
... Read MoreA production‑grade exploration of Vim’s operator‑pending mode: designing custom text objects for structured editing, chaining motions into composable grammars, and building a reusable engine that turns raw Vimscript into a declarative selection language. Covers everything from omap trickery to integration with plugins and performance profiling.
A deep dive into a production Vim configuration for LaTeX editing built around ftplugin hooks, custom compilation viewers, snippet repositories, and automated HTML export for static sites. Explores how to transform Vim into a deterministic, keyboard-driven LaTeX environment that eliminates boilerplate and integrates with modern developer toolchains.
... Read MoreLearn how to extend the RunScriptFilter pattern to turn plain text into HTML instantly inside Vim. Convert lists into styled <li> tags, wrap paragraphs in <p>, generate <select> menus, and build HTML tables – all from visual selections. A practical, script‑first approach that eliminates repetitive markup typing for developers and technical writers.
... Read MoreLearn how to use Python, shell, and external scripts as live text filters in Vim, replacing fragile macros. Transform LaTeX equations, format JSON, process CSV, and automate repetitive code edits – all from a visual selection or the entire buffer. A practical, engineer-tested Vim workflow for power users and technical writers.
... Read MoreLearn how custom Vim mappings can streamline LaTeX editing for productivity and efficiency.
... Read MoreLearn how to create a powerful Vim function that automatically processes selected code through external Python scripts. This tutorial shows you how to implement RunScriptsOnSelect - a versatile Vim function that detects code type from visual selections and applies appropriate transformations using custom Python processors.
... Read MoreA practical guide showing how a custom Vim function intelligently selects text inside brackets, quotes, and TeX math delimiters—making LaTeX editing faster and more natural.
... Read More