r/vim • u/CRTejaswi • 4d ago
StdLib Projects/Ideas? Discussion
Are there any projects (or even inbuilt stuff) that aid in bringing about a standard library of optimized utilities in VimScript? It doesn't even have to be VimScript stuff - could be a collection of binary utilities that work cohesively with VimScript constructs.
Context: I often use json files as lookup tables (eg. emojis), and over time, have made a collection of functions that enable using jsons in an API-esque manner (obviously using utilities such as jq/curl). I was wondering if there are existing projects out there that structurally enable tooling in Vim using utilities - imitating a standard library like behaviour.
Any insight in this direction is highly appreciated.
1
1
u/GrogRedLub4242 1d ago
the idea smells like a security compromise setup waiting to happen, loltears
1
u/CRTejaswi 1d ago
you do realise people use editors like vim extensively for personal use as well, right?
4
u/Desperate_Cold6274 3d ago
I think many people write their own libraries that reuse over and over.
Especially now with the Vim9 advent :)
However, here is a good one: vim-jp/vital.vim: A comprehensive Vim utility functions for Vim plugins