I use two languages to check my spelling: English and Russian, so I have the following options in .vimrc
:
set spell spelllang=ru_yo,en_us
set spellsuggest=10
set keymap=russian-jcukenwin
Sometimes I run zG
on "incorrect" words to mark them as the "good" ones and make the exception globally. After pressing zG
I see the following in the status line:
Word 'Timur' added to /tmp/vsqMS8V/10
It seems Vim adds my dictionary preferences/exceptions into temporary directory. Is it possible to specify concrete path where to store such files? There is spellfile
option, but I didn't get the idea how to use it with multiple langs..
UPDATE
The are mistake, I should use zg
instead zG
to store exceptions under ~/.vim/spell
permanently and between all vim sessions. But still question is open: how to specify a concrete path/file to store the words?