r/neovim • u/Kamensky124 • 14d ago
Discussion Finally dropped DBeaver by splitting my SQL workflow between vim-dadbod and sqlit
I kept bouncing off trying to replace DBeaver with a single terminal tool. vim-dadbod is great when I'm writing multi-query .sql files, switching connections per buffer, and wrapping updates in explicit BEGIN/ROLLBACK blocks, but browsing wide tables, checking JSONB columns, or editing a single cell in a .dbout buffer always felt clunky.
What finally made me uninstall DBeaver was splitting the job in two instead of forcing one tool to do everything.
For actual query work I stay in Neovim with vim-dadbod + vim-dadbod-ui. I mapped <leader>dr to run the buffer or visual selection, <leader>dl for the current line, and <leader>do to jump straight to the .dbout split. Keeping separate check.sql and mutate.sql buffers and swapping the target DB with :DBUIFindBuffer is way faster than juggling DBeaver script tabs, and explicit transactions beat remembering whether Manual Commit mode is toggled on.
For quick data inspection, jumping through foreign keys, inspecting JSON fields, or editing one row inline without writing an UPDATE statement, I just pop open sqlit in a terminal split. It covers the 20% of GUI habits that dadbod wasn't built for, without eating 1.5 GB of RAM on Java startup.
Curious if anyone else splits their DB workflow like this, or if you've moved completely to one of the newer TUI/Neovim SQL clients?
1
u/jrop2 lua 14d ago
I just made a SQL CLI that connects to Postgres/MySQL/SQLite and outputs markdown (it also supports yaml/json and other outputs): I pipe SQL to a split and that's my entire SQL workflow.