nvim-db
NAME
nvim-db: A tiny database client that lives inside Neovim.
SYNOPSIS
vim.pack.add { "https://github.com/silentFellow/nvim-db.git" }DESCRIPTION
nvim-db manages database connections, keeps a query file per connection, runs queries and shows the results without leaving the editor. It ships no drivers: every query goes through the native CLI you already have, so psql, sqlite3, mysql, redis-cli, mongosh and duckdb all work out of the box.
DEMO
FEATURES
- Seven databases through their own CLIs, zero drivers
- Per connection query files you can keep in git
- Shift+Enter runs a selection or the whole buffer, async, with timing
- Written in Lua, configured with one setup() call
NOTES
Every query is handed to the database’s own CLI through vim.system, asynchronously, and the output lands in a result buffer along with its run time. The database type comes from the URL scheme, and each connection gets its own folder of query files next to its connection.json. Supporting a new database means teaching the plugin one more command line, not shipping a driver.
STACK
lua, neovim