Ⅰ. 插件描述
Generates vim menu from sql queries files (python required)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mysqlgenquerymenu-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mysqlgenquerymenu-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mysqlgenquerymenu-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/mySqlGenQueryMenu.vim
Ⅳ. 文档说明
When you use a database as a tool for your work, you may have queries you
often use and don't want to write each time.
In this case, as you are a vim user, you may dream of a way to simply create a
menu in vim containing all your queries with a few parameters...
This plugin is for you.
It aims to let you write your queries in sql files as you would normally do it
and then generate a menu for you to access them.
Advertising :
Have you heard of this other funny script ?
If you find this script too serious, try this other one :
http://www.vim.org/scripts/script.php?script_id=800
With this script you'll be able to MixCase like the best Hà®d(orê m1×Càse ma$+Er and make your coding very new style ;-)