writegooder.vim


Ⅰ. 插件描述

Vim plugin for Matt Might's '3 shell scripts that can improve your writing'

Ⅱ. 基本信息

创建日期:  2012-04-22
使用用户:  3
Github星:  3
插件作者:  Joel Kirchartz

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Writegooder.vim

Writegooder is a plugin to highlight common writing problems, forked from
davidbeckingsale's writegood.vim

The plugin uses the Error group to highlight errors, so I assume it will work
on both gvim and terminal vim.

Features

  • Detects duplicate words (even over newlines)
  • Highlights use of passive voice
  • Highlights common "weasel words"

<!---

Screenshot

Writegood mode in action
--->

About

After reading Matt Might's blog post years ago, I was going to convert it to a
git presubmit, but that seemed foolish since I was writing in vim; so once I
found Dave Beckingsale's WriteGood I started using it -- then I noticed it was
missing adjectives; instead of just adding them and submitting a pull request,
I've decided I may need to add more functionality for it to work the best with
the way I think/write, so here we go!

Links

Credits

  • Matt Might for writing the original scripts.
  • Benjamin Beckwith for the emacs mode and catchy title I've borrowed.
  • Steve Losh for 'Learn Vimscript the Hard Way'.
  • Nathaniel Kane for the vim-indent-guides plugin, which I used as a
    reference for structuring and documentation.
  • Dave Beckingsale who wrote the original version of this plugin (Twitter: @dabeckingsale)

Contact

  • Twitter: @jkirchartz

添加新评论