vim-weasel


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2012-03-09
使用用户:  2
Github星:  6
插件作者:  Bjoern Doebel

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'bjoernd/vim-weasel'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'bjoernd/vim-weasel'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'bjoernd/vim-weasel'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/bjoernd/vim-weasel

Ⅳ. 文档说明

VIM plugin for finding common language errors

Writing prose is tedious and as soon as it gets more complex than finding
spelling errors, the task of correcting mistakes can hardly be automated.

Heuristics can help, though. This plugin takes Matt Might's recommendations
from his blog [1] and translates his shell script heuristics into Vim script.

[1] http://matt.might.net/articles/shell-scripts-for-passive-voice-weasel-words-duplicates/

USAGE

Simple: Have a document (txt, latex, ...) open and call s:WeaselFunc(). By
default this call is mapped to <Leader-w>, which is ''+w in my case. The
plugin then parses all your text (yes, this may take some time) and generates
a quickfix window containing all locations where it found something notable.

TODO

  • can we also incorporate Michael Hohmuth's checkbiw?

添加新评论