An open API service indexing awesome lists of open source software.

https://github.com/sheenazien8/vim-nyambung-db

Connect to mysql db without exiting vim
https://github.com/sheenazien8/vim-nyambung-db

neovim neovim-plugin plugin vim vim-plugin vimrc

Last synced: 11 months ago
JSON representation

Connect to mysql db without exiting vim

Awesome Lists containing this project

README

          

# vim-nyambung-db.vim
vim-nyambung-db is a plugin that helps you to connect with mysql cli without exiting vim, and stick to the jargon of working without using a mouse
![vim-nyambung-db](doc/vim-tutorial-2021-07-12_17.35.42.gif)

## Installation
### Prerequisites
Make sure you have installed these this plugin in your vim:
```vim
Plug 'vimwiki/vimwiki'
```
### Installation with [Vim-Plug](https://github.com/junegunn/vim-plug)
Add the following to the plugin-configuration in your vimrc:
```vim
Plug 'sheenazien8/vim-nyambung-db', { 'do': 'pip3 install mysql-connector' }
```

## Configuration
set the credentials global variable
```vim
let g:credentials = "host=localhost;user=homestead;password=secret"
```

## Usage
```vim
:call ConnectTheDB()
:Database:
:Query:

select the query
:'<,'>DBExecuteSelection
:Databasee:
```

## Mapping

## Support Us
I invest a lot of resources into creating this thing. You can support me by pressing the star button in the top right corner, or buy me a cup of coffee to brew together.

## License
Copyright ©sheenazien8. Distributed under the same terms as Vim itself.
See [LICENSE](LICENSE)