Ⅰ. 插件描述
:speech_balloon: Project specific spellfilesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dbmrq/dialect-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dbmrq/dialect-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dbmrq/dialect-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dbmrq/vim-dialect
Ⅳ. 文档说明
# dialect.vim
A simple plugin that persists the words added with zG and zW to aspellfile specific to the current file or directory.
Usage
- Keep using
zgandzwthe way you always did. - The words you add with
zGandzWwill be added to./.dialect.{encoding}.add. - By default,
dialect.vimuses aspellfilefor each directory. If you want
a differentspellfilefor each specific file, add this to your.vimrc:
let g:dialectmode = 'file'. You can also add a file called .dialectmain
to a directory and all files in its subdirectories will use the spellfile
there.
That's it!
See also
You may also be interested in my other plugins:
- Ditto: highlight overused words :speak_no_evil:
- Redacted: the best way to ████ the ████ :no_mouth:
- Chalk: better fold markers :pencil2:
- Howdy: a tiny MRU start screen for Vim :wave: