https://github.com/hashrocket/vim-hr-psql
Open psql formatted table definitions from Vim Postgres
https://github.com/hashrocket/vim-hr-psql
Last synced: 4 months ago
JSON representation
Open psql formatted table definitions from Vim Postgres
- Host: GitHub
- URL: https://github.com/hashrocket/vim-hr-psql
- Owner: hashrocket
- Created: 2017-08-21T00:12:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T01:41:24.000Z (about 8 years ago)
- Last Synced: 2025-10-29T05:45:00.870Z (8 months ago)
- Language: Vim script
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hr-psql.vim
> open psql formatted table definitions from vim
> [Postgres](https://www.postgresql.org/)
## Usage
Move the cursor over a table name word (Thing, thing, things) and type `d` to view a
the table definition as seen in `psql` in a scratch window.
To override the default mapping, use the following command:
``` vimscript
nmap db hr_psql_pg_table_window
```
## Installation
To install `hr-psql.vim`, use your favorite Vim plugin manager (e.g.
[Plug](https://github.com/junegunn/vim-plug)):
```vimscript
Plug 'hashrocket/vim-hr-psql'
```
### License
hr-psql.vim is released under the [MIT License](http://www.opensource.org/licenses/MIT).
---
### About
[](https://hashrocket.com)
hr-psql.vim is supported by the team at [Hashrocket, a multidisciplinary
design and development consultancy](https://hashrocket.com). If you'd like
to [work with us](https://hashrocket.com/contact-us/hire-us) or [join our
team](https://hashrocket.com/contact-us/jobs), don't hesitate to get in
touch.