vim-dialect
vim-dialect copied to clipboard
:speech_balloon: Project specific spellfiles
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
andzw
the way you always did. -
The words you add with
zG
andzW
will be added to./.dialect.{encoding}.add
. -
By default,
dialect.vim
uses aspellfile
for each directory. If you want a differentspellfile
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 thespellfile
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: