I'm writing a document with vim and latex. I recently noticed a word that I use ("tree"), but which is incorrect in the context of my document. I corrected it on the whole document. However, I have the habit to use this word instead of the correct one, when writing.
Is it possible to declare this word as a temporary wrong word (until the buffer is closed, this is enough), to make the spell-checker highlight it?
I have tried to mark it as definitive wrong word. This is not a solution as "tree" is in fact a correct word and should not be highlight in other documents. I also tried to search it: my vim is configured to automatically highlight it when I write it. This is a half-solution, as it needs that my last search be "tree", and handles difficultly many words if I have really wrong habits.
Vim spell cheat sheet:
spellfile
; remove it with zugAccording to the documentation,
So this is what you are looking for.
Please see
:help spell-quickstart
for more details.