Ⅰ. 插件描述
Rainbow Parentheses is a plugin that uses color to help identify matching parentheses.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dbarsam/vim-rainbow-parentheses'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dbarsam/vim-rainbow-parentheses'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dbarsam/vim-rainbow-parentheses'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dbarsam/vim-rainbow-parentheses
Ⅳ. 文档说明
vim-rainbow-parentheses
A Vim plugin that uses color to help identify matching parentheses and other paired delimiters according to their depth by using a different color for each successive level. For more information, please see the documentation.
Rainbow Parentheses is a feature that has been implemented nd re-implemented for vim before. This plugin modifies the techniques found in other plugins based on personal work flow and really doesn't add anything new.
Acknowledgements
This started out as a minor mirroring of Luo Chen's plugin on github but grew into something more of a plugin sandbox project.
The following is a list of other plugins that perform the same functionality and may or may not have influenced this plugin:
- Francisco Lopes - Rainbow Parentheses Improved (Github Fork of Luo Chen)
- Luo Chen - Rainbow Parentheses Improved
- Kien et al. - Better Rainbow Parentheses
- Martin Krischik - Rainbow Parenthesis Bundle
- John Gilmore - Rainbow Parenthesis
- Bram Moolenaar - Vim Help
The following is a useful list of discussions related to the functionality of the plugin: