Frage

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.

War es hilfreich?

Lösung 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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top