Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jorenar/vim-SQL-UPPER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

vim-SQL-UPPER

Uppercase SQL keywords without the need of holding Shift or CAPS LOCK

Installation

Plug 'Jorengarenar/vim-SQL-UPPER'

Vim's packages

cd ~/.vim/pack/plugins/start
git clone git://github.com/Jorengarenar/vim-SQL-UPPER.git

Usage

When you type an SQL keyword in an SQL file, it will be automatically uppercased after you finish writting it.

Words in comments and strings will be ignored.

Configuration

There is one variable, g:SQL_UPPER. Default value is syntax

Value Description
0 Disable auto-uppering
list You can provide your own list of keywords, e.g. let g:SQL_UPPER = [ "select", "from" ]
"syntax" Keywords returned by syntaxcomplete#OmniSyntaxList() function
"drupal" Keywords from Drupal's List of SQL reserved words
"wikipedia_all" All keywords from Wikipedia's list of SQL reserved word
"wikipedia_sql2023" Keywords from Wikipedia's list of SQL reserved word marked as 'In SQL:2023'

About

Automatically uppercase SQL keywords as you type

Topics

Resources

License

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /