Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aufgang001/vim-custom-spellfile'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aufgang001/vim-custom-spellfile'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aufgang001/vim-custom-spellfile'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aufgang001/vim-custom_spellfile
Ⅳ. 文档说明
## My Spellfiles
This plugin encapsulate my custom spellfiles. I needed a solution so synchronise my spellfile and this is the result.
The plugin creates softlinks form the synchronised spellfile in the plugin folder to the ~/.vim/spell/ directory. After adding a new word the plugin directory musst unfortunately be pushed manually, but can be pulled on an other computer with the plugin-manager.
Why not with Dropbox?
Because Dropbox sucks!
Install
Install this plugin with your favorite plugin-manager or manual with the following commands:
git clone https://github.com/aufgang001/vim-custom_spellfile.git ~/.vim/vim-custom_spellfile.git
~/.vim/vim-custom_spellfile.git/intall.sh
Usage
Add a word with zg shortcut to the spellfile. You will get a reminder to upload the spellfile. Go to the plugin directory and push it.
Usefull shortcuts
zg - add a word to the spellfile
zug - undo zg
zw - mark a wrong word.
zuw - undo zw
zc - clean the spellfile form comments
zs - sort the spellfile alphabetical
zr - refresh the wordlist (after a pull)