Quick-’n’-dirty Vim plugin that uppercases SQL keywords (according to PostgreSQL 9.6) as you type.
-
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?).
- Don’t uppercase inside quotes.
Using Pathogen:
cd ~/.vim/bundle && \
git clone https://github.com/joecridge/vim-upsql.git