Ⅰ. 插件描述
A text object for any of '', "", (), {}, [] and <>.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chun-yang/vim-textobj-anyblock-without-it'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chun-yang/vim-textobj-anyblock-without-it'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chun-yang/vim-textobj-anyblock-without-it'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chun-yang/vim-textobj-anyblock
Ⅳ. 文档说明
Make Quotes, Parenthesis, Braces as the Same Text Object
This plugin make a text object mappings ib and ab.
ibis a union ofi(,i{,i[,i',i"andi<.abis a union ofa(,a{,a[,a',a"anda<.
ib and ab match all of them.

This plugin depends on vim-textobj-user. Please install it in advance.
If you want to change the blocks which ib and ab match, define g:textobj#anyblock#blocks. For example, if you install vim-textobj-between and want to match `...` , set [ '(', '{', '[', '"', "'", '<' , 'f`'] to it.
If you want to define buffer local blocks, set them to b:textobj_anyblock_buffer_local_blocks as list of string.
License
Copyright (c) 2013 rhysd MIT License.
