(Neo)Vim's macro system is a very powerful tool for quickly applying a sequence of transformations over and over again. However, in some rare cases, I find myself wanting a more generic way of expressing such text transforms, with support for conditionals and logic.
This post shows how it is quite simple to write such transforms as Lua functions, and register them both as visual mode mappings and user commands.
Read More...Compilers and tools in the VLSI and RTL world often produce a very large number of warnings and errors when run. I was interested in being able to quickly see and navigate all these diagnostics directly in (Neo)Vim.
This is easily achievable using the :make command and compiler plugins, or by
manually generating diagnostics with a lua script.