dialect.vim


Ⅰ. 插件描述

:speech_balloon: Project specific spellfiles

Ⅱ. 基本信息

创建日期:  2016-07-16
使用用户:  1
Github星:  17
插件作者:  Daniel Marques

Ⅲ. 安装方法

使用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 a
spellfile specific to the current file or directory.

Usage

  • Keep using zg and zw the way you always did.
  • The words you add with zG and zW will be added to
    ./.dialect.{encoding}.add.
  • By default, dialect.vim uses a spellfile for each directory. If you want
    a different spellfile for 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:

添加新评论