vim-uppercase-sql


Ⅰ. 插件描述

Automatically uppercase SQL keywords as you type

Ⅱ. 基本信息

创建日期:  2016-11-05
使用用户:  26
Github星:  28
插件作者:  Jimmy Börjesson

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'alcesleo/vim-uppercase-sql'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'alcesleo/vim-uppercase-sql'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'alcesleo/vim-uppercase-sql'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/alcesleo/vim-uppercase-sql

Ⅳ. 文档说明

# vim-uppercase-sql

Many people follow the convention of writing SQL keywords in upper case. Few
people enjoy using shift or caps lock to do it. This plugin fixes that.

demo of writing sql query with automatically upper cased keywords

Installation

Using vim-plug (or other similar package manager):

" put this in your ~/.vimrc, then run :PlugInstall
Plug 'alcesleo/vim-uppercase-sql'

Usage

Install it and forget about it. When you type an SQL keyword in an SQL file, it
will be automatically uppercased as you type, and it is smart enough to not
uppercase stuff in comments or strings.

添加新评论