closeb


Ⅰ. 插件描述

Close complex brackets or tags

Ⅱ. 基本信息

创建日期:  2002-02-22
使用用户:  3
Github星:  1
插件作者:  Mark A. Hillebrand

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This plugin closes complex brackets / tags.
It is an extended version of closetag, (http://vim.sourceforge.net/scripts/script.php?script_id=13)

It comes with configuration for closing XML/SGML tags and LaTeX environments but is easily configured for other filetypes.

Closing a bracket / tag also (optionally) inserts a newline and / or indentation, but only if the matching bracket / tag stood on a line of its own.

If, during scanning for the bracket / tag to close, mismatching brackets are found, they are optionally highlighted.

A path function is provided, which displays all open tags. For example, this function may be used in the status line for a constant display of location in an XML file.

添加新评论