
dbout.nvim (Major Update) – Run SQL queries in Neovim with JSON results.
Hi everyone,
It’s been quite a while since the last update, and I’d like to reintroduce dbout.nvim.
>dbout.nvim is a Neovim plugin that helps you connect to databases, execute SQL queries, and display the results in JSON format. No need to switch to external tools. Everything happens inside Neovim, making your workflow faster and smoother.
https://reddit.com/link/1tygjk3/video/mxfyag3mrn5h1/player
This major release focuses on an window management and layout system.
Here are the core updates:
- Buffer-Isolated Connections: Every database query buffer maintains its own isolated connection state.
- Context-Aware Window Management: The layout system dynamically toggles and restores its state as you switch between buffers, and automatically hides itself when you navigate to unrelated files.
Previously, when I had multiple active database connections open, opening the Inspector and Viewer panels could get confusing, as it wasn't clear which connection instance they belonged to. On top of that, navigating back to a regular text file meant you had to manually close all those residual scratch buffers to clean up your workspace.
With this update, as you move between dbout buffers and other files, the scratch buffers will automatically open, hide, and restore their last layout state.
Building on top of this layout foundation, I can development more features next, such as query history etc.
And here is github repository: https://github.com/zongben/dbout.nvim
If you run into any issues or have any suggestions or ideas, feel free to open an issue or submit a PR. I’d really appreciate it!