2 ms·
You can iterate & reuse a vim function, and if you use neovim, you can write it in Lua instead of vimscript. But a script is a totally reasonable approach, and
by maxbond 4y ago
You can iterate & reuse a vim function, and if you use neovim, you can write it in Lua instead of vimscript.
But a script is a totally reasonable approach, and what's important is what works best in your workflow, just pointing out options for the sake of interest.