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
- Host: GitHub
- URL: https://github.com/sheenazien8/vim-nyambung-db
- Owner: sheenazien8
- License: mit
- Created: 2021-07-04T14:14:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T10:48:04.000Z (almost 5 years ago)
- Last Synced: 2025-07-13T18:43:56.835Z (12 months ago)
- Topics: neovim, neovim-plugin, plugin, vim, vim-plugin, vimrc
- Language: Python
- Homepage:
- Size: 2.33 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

## 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)