/vim-hr-psql

Open psql formatted table definitions from Vim Postgres

Primary LanguageVim script

hr-psql.vim

open psql formatted table definitions from vim Postgres

Usage

Move the cursor over a table name word (Thing, thing, things) and type <leader>d to view a the table definition as seen in psql in a scratch window.

To override the default mapping, use the following command:

nmap <Leader>db  <Plug>hr_psql_pg_table_window

Installation

To install hr-psql.vim, use your favorite Vim plugin manager (e.g. Plug):

Plug 'hashrocket/vim-hr-psql'

License

hr-psql.vim is released under the MIT License.


About

Hashrocket logo

hr-psql.vim is supported by the team at Hashrocket, a multidisciplinary design and development consultancy. If you'd like to work with us or join our team, don't hesitate to get in touch.