vim-hr-psql


Ⅰ. 插件描述

Open psql formatted table definitions from Vim Postgres

Ⅱ. 基本信息

创建日期:  2017-08-21
使用用户:  1
Github星:  2
插件作者:  Hashrocket

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'hashrocket/vim-hr-psql'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'hashrocket/vim-hr-psql'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'hashrocket/vim-hr-psql'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/hashrocket/vim-hr-psql

Ⅳ. 文档说明

# 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](https://hashrocket.com). If you'd like
to work with us or [join our
team](https://hashrocket.com/contact-us/jobs), don't hesitate to get in
touch.

添加新评论