kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.54k stars 94 forks source link

possible to use it with other CLI programs? #284

Open uwla opened 2 weeks ago

uwla commented 2 weeks ago

Is it possible to configure this plugin such that the CLI program is not mysql but other sql-like CLI interface such as mycli or litecli ?

That's because my system only allows me to run mycli if mariadb daemon is running, but I often have problems with this daemon which wastes me a lot of time with systemd troubleshooting.

If this plugin were to support CLI programs which do not depend on daemons, it would be nice. I have not figured out how to do so, therefore any help is welcome.

Thanks in advance.

kristijanhusak commented 2 weeks ago

All CLI execution is done through https://github.com/tpope/vim-dadbod, so you can try to override some of the functions there or create own adapter.