vim-dadbod (by tpope) is a modern database interface plugin for Vim and Neovim designed to let you run queries and manage database connections directly from your editor. Unlike older database plugins which required many commands or separate UI components, dadbod uses a simple model: you connect using a single connection URL and issue queries with a unified :DB command. It supports a wide array of backends — from PostgreSQL, MySQL, SQLite, Redis, MongoDB, BigQuery, Snowflake and more — via adapters. Results of queries are displayed in preview windows or splits inside Vim, allowing you to stay in your editing context rather than switching to a separate tool. You can also run ranges or whole buffers as SQL queries or pass files to the database CLI. The plugin is designed to be project-aware: connection URLs can be defined per project rather than globally.

Features

  • Define database connections via a single URL and connect with :DB command
  • Execute queries interactively or on selected ranges/files and display results inside Vim splits/preview
  • Support for many database types including relational (PostgreSQL, MySQL, SQLite) and NoSQL/analytics (MongoDB, BigQuery, Snowflake)
  • Project-local configuration of connections so you can work per-project context
  • Ability to spawn interactive database consoles from within Vim via the same command
  • Extensible adapter architecture allowing custom backends or integration with other plugins (e.g., completion or UI enhancements)

Project Samples

Project Activity

See All Activity >

Categories

Database

Follow dadbod.vim

dadbod.vim Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dadbod.vim!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-10-14