Launching Vim via Lua
- by Keith Pimmel
I'm writing a simple little Lua commandline app that will build a static website. I'm storing my fragments in a sqlite database. Retrieving the data from the db is straightforward as is saving it; my question comes from editing the data.
Is there an elegant way to pipe the data from Lua to vim? Can vim edit a memory buffer and return it? I was…