Ⅰ. 插件描述
operator-html-escape provides operator to escape HTML entities.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tyru/operator-html-escape'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tyru/operator-html-escape'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tyru/operator-html-escape'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tyru/operator-html-escape.vim
Ⅳ. 文档说明
# Introduction
operator-html-escape provides operator to escape HTML entities.
nmap <c-h> <Plug>(operator-html-escape)
nmap <c-u> <Plug>(operator-html-unescape)This is a operator version of this wiki page:
http://vim.wikia.com/wiki/HTML_entities
so this can work with text-objects.
You can also enhance text-objects by textobj-user.
Requirements
- Vim 7.2 or later
operator-user0.0.5 or later