ecridge / vim-upsql

Case transformation for (Postgre)SQL keywords.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upsql.vim

Quick-’n’-dirty Vim plugin that uppercases SQL keywords (according to PostgreSQL 9.6) as you type.

Why?

  • Capitalising keywords makes the code more readable, but typing in caps is a pain.

  • The case change makes it easier to spot if you accidentally use a keyword as an identifier (’cause who remembers all ~800?).

To do

  • Don’t uppercase inside quotes.

Installation

Using Pathogen:

cd ~/.vim/bundle && \
git clone https://github.com/joecridge/vim-upsql.git

About

Case transformation for (Postgre)SQL keywords.

License:The Unlicense


Languages

Language:Vim Script 100.0%