Ⅰ. 插件描述
Easily apply text conversions.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'idbrii/textconv-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'idbrii/textconv-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'idbrii/textconv-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/idbrii/textconv.vim
Ⅳ. 文档说明
textconv.vim
Easily apply text conversions.
I found this discussion on Reddit_ about the pain of sanitizing plaintext
when pasting from utf-eager applications where romainl swings to the rescue
with some pastebins of vimscripts to easily accomplish that very thing. I
cleaned them up and bundled them into this plugin.
The plugin provides commands for converting to+from html entites and
url-encoded strings.
.. _this discussion on Reddit: http://www.reddit.com/r/vim/comments/vbvzy/the_vim_holy_grail_why_the_hell_is_the_esc_key_so/c53iq0i?context=3