Ⅰ. 插件描述
Replaces curly quotes with straight quotesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'traviswsims/vim-straight-quotes'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'traviswsims/vim-straight-quotes'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'traviswsims/vim-straight-quotes'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/traviswsims/vim-straight-quotes
Ⅳ. 文档说明
This plugin causes all curly quotes to be highlighted in red.
To fix the curly quote errors, just call :FixQuotes. By default it
operates on the entire file. Pass a range (or use V to select some lines)
to restrict the portion of the file that gets fixed.
This plugin is a modification of Scott Bronson's vim-trailing-whitespace.