Question

Is it possible to manage my postgres database using VIM? Normally i use in my windows environment the cmd command line but i would like to find out if this is possible and if it is could anyone provide a quick guide on how to do it?

Thank you all.

Was it helpful?

Solution 2

Vim is not an IDE, and having a deep integration with things that are not directly related to text editing (like database management) within the editor is frowned upon.

That said, vi / Vim easily integrate with external tools, so if you have a handy command-line utility for managing Postgres, you can easily build your own mappings and commands to make frequently repeated tasks easier, mostly through :! or :call system(...).

Quick and dirty Postgres query on the Vim Tips Wiki provides a starting point.

OTHER TIPS

Check out the DBext plugin. It contains functions/mappings/commands to enable Vim to access several databases, including postgres.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top