I use Vim's spellchecking feature. Given that I work with many technical terms and LaTeX commands, I tend to add many them to my personal dictionary in ~/.vim/spell/en.utf-8.add.
I would like to share this file across multiple machines, so that when I add a word to the file on one machine, it is also added on other machines, and I don't need to add it once on each machine. I tried versioning ~/.vim/spell/en.utf-8.add in git, but this does not seem to work: vim does not pick up the new terms. I suspect that Vim also needs the file en.utf-8.add.spl to be edited somehow, but as this file is binary, versioning it will probably lead to conflicts.
Does anyone here have a satisfactory solution to have vim spellcheck dictionary additions as part of their config, and synchronizing them between all of their machines?
silentbeforeexecso I don't get spammed at startup by the progress info of the command (and don't get "Press ENTER or type command to continue"). – a3nm Oct 09 '15 at 15:20glob()is a builtin Vim function that (as the name suggests) performs the equivalent of Bash pathname globbing. That is,glob()accepts a glob expression and returns a list or string of all pathnames matching that expression on the local filesystem. Glob expressions are like regular expressions, only simpler and less powerful. Type:h globwithin Vim for gruesome details. – Cecil Curry Apr 11 '20 at 03:34