Ⅰ. 插件描述
A simplistic vim plugin to deal with pairs non-intrusivelyⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dhruvasagar/vim-pairify'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dhruvasagar/vim-pairify'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dhruvasagar/vim-pairify'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dhruvasagar/vim-pairify
Ⅳ. 文档说明
# vim-pairify v0.4.3
A simple plugin for pair completion such as () and []. Simply press
<C-J> in insert mode and the plugin will identify the correct pair
to be completed. It has support for nesting.
Installation
You can either do a standard installation or using a plugin manager such as
Pathogen, Vundle, NeoBundle, VimPlug
Contributing
- Fork It
- Commit your changes and give your commit message some love
- Push to your fork on github
- Open a Pull Request