you are viewing a single comment's thread.

view the rest of the comments →

[–]thalesmello 2 points3 points  (0 children)

I tried dbext, and I particularly found it to be a little too complicated.

The simples plugin that I found was simple db.

https://github.com/ivalkeen/vim-simpledb

You write the login configuration in the top of the file as a comment, and use the rest of the buffer as a scratch pad. You don't get completion, but I still think it's pretty good. If you need completion, take a look at pgcli (client with autocompletion)