open psql formatted table definitions from vim Postgres
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
To install hr-psql.vim
, use your favorite Vim plugin manager (e.g.
Plug):
Plug 'hashrocket/vim-hr-psql'
hr-psql.vim is released under the MIT License.
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.