Ⅰ. 插件描述
Creative writing in Vim!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'monokrome/vim-flow'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'monokrome/vim-flow'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'monokrome/vim-flow'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/monokrome/vim-flow
Ⅳ. 文档说明
vim-flow
Creative writing in Vim!
Install
If you want the autocompletion for rhymes, install nltk:
easy_install nltk
Run the nltk downloader (if anyone knows a better way, let me know):
python -c 'import nltk; nltk.download()'
Under the "Corpa" section, download the module called cmudict. After it is
done downloading, you can close the downloader.
Vim-flow requires Vimpy. If it isn't installed yet, you should install
- Vimpy makes writing Python plugins in Vim super simple, and there are
- that you'll find using it. For instance, this one.
You can install both Vimpy and vim-flow as you normally would. Either by
manually placing the files in your Vim runtime path (IE, ~/.vim) or by adding
it to your bundles directory. Vundle users can install them by appending
the following Bundle statements to your vimrc:
Bundle "LimpidTech/Vimpy"
Bundle "monokrome/vim-flow"
After adding the bundles, you can run :BundleInstall to install the new
bundles.
NeoBundle users can install them with a similar vimrc:
NeoBundle "LimpidTech/Vimpy"
NeoBundle "monokrome/vim-flow"
followed by running :NeoBundleInstall to install the bundles.