{"repo":"kristijanhusak/vim-dadbod-ui","free":true,"listed":false,"github":"https://github.com/kristijanhusak/vim-dadbod-ui","clone":"git clone https://github.com/kristijanhusak/vim-dadbod-ui.git","description":"Simple UI for https://github.com/tpope/vim-dadbod","language":"Vim Script","stars":2041,"topics":["vim","vim-plugins","neovim","neovim-plugin","viml","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"vim-dadbod-ui Simple UI for vim-dadbod. It allows simple navigation through databases and allows saving queries for later use. With nerd fonts: Video presentation by TJ: Tested on Linux, Mac and Windows, Vim 8.1+ and Neovim. Features: Navigate through multiple databases and it's tables and schemas Several ways to define your connections Save queries on single location for later use Define custom table helpers Bind parameters (see :help vim-dadbod-ui-bind-parameters ) Autocompletion with vim-dadbod-completion Jump to foreign keys from the dadbod output (see :help (DBUI JumpToForeignKey) ) Support for nerd fonts (see :help g:db ui use nerd fonts ) Async query execution Installation Configuration with lazy.nvim Or vim-plug After installation, run :DBUI , which should open up a drawer with all databases provided. When you finish writing your query, just write the file ( :w ) and it will automatically execute the query for that database. Databases There are 3 ways to provide database connections to UI: 1. Through environment variables 2. Via g:dbs global variable 3. Via :DBUIAddConnection command Through environment variables If $DBUI URL env variable exists, it will be added as a connection. Name for the connection will be parsed from the url. If you want to use a custom name, pass $DBUI NAME alongside the url. Env variables that will be read can be customized like this: Optionally you can leverage dotenv.vim to specify any number of connections in an .env file by using a specifi","default_branch":null,"files":null,"tree":[],"storefront":"/r/kristijanhusak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kristijanhusak/vim-dadbod-ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}