"Mini-Plugins" in Vim
Page created: 2023-06-16Back to vim.
I never used a lot of plugins in Vim. Over time, I’ve gotten rid of them, one by one, until the only one left is one that I wrote myself and I don’t manage it with a plugin manager (it just comes along with my "dotfiles" - see Personal Linux Setup with Git Repos and Stow).
(Oh, I guess I already wrote about that: vim-no-plugins.)
Anyway, that doesn’t mean I don’t like to customize Vim. A little goes a long way, as I wrote in vim-convenience.
When I group a little set of functionality together, and especially when I use an autogroup to activate it, I call it a "mini-plugin".
It really works like a plugin, but without the hassle and eternal management of a "real" plugin.
Examples
-
vim-task-lists includes custom syntax highlighting
-
vim-wiki-ish-miniplug includes linking and shortcuts to run external scripts for a specific project
-
vim-search-folding a shortcut to show just matching search results in a document
-
ratlink the rattiest linker