Ⅰ. 插件描述
A vim plugin to improve your writing quality and productivityⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'lukhio/advimsor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'lukhio/advimsor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'lukhio/advimsor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/lukhio/advimsor
Ⅳ. 文档说明
# adVIMsor
A plugin to help you write better. Inspired by Matt Might's scripts to improve
writing quality.
Requirements
None. This plugin is written in vimscript, nothing more but Vim is needed.
Installation
You can install it as any other plugin. For Vundle, add this line:
Plugin 'lukhio/adVIMsor'
to your vimrc file. For pathogen:
$ cd $HOME/.vim/bundle
$ git clone git@github.com:lukhio/adVIMsor.git
For other plugin managers please refer to their documentation.
Usage
This plugin provides three functionalities:
Matt Might scripts, to detect weasel words, the use of passive voice and
word duplicates: just type:AdVIMsorEnable. The matched words will be- To disable this functionnality type
:AdVIMsorDisable.
- To disable this functionnality type
- Flesch reading ease test: type
:AdVIMsorFleschScoreto get the score of
the current buffer. - Flesch-Kincaid grade level test: type
:AdVIMsorFleschKincaidScoreto get
the corresponding grade level of the current buffer.
Contributing
You can send me patches at julien AT jgamba DOT eu. You can also try to submit
a pull request on Github, but I do not check it often. You can also email me if
you are having issues, or want to give feedback.
License
See the LICENSE file.
Credits
The original scripts were written by Matt Might, and can be found
here.