it just says thesaurus option
is empty.
To use the thesaurus in vim, option thesaurus has to be defined in .vimrc, pointing to the location of the thesaurus text file.
Use
set thesaurus+=<file>.txt
* Replace <file>
with the file location
You can define your own thesaurus using
Steps :
touch thesaurus.txt
- write
important,valuable,substantial,significant
inside it and :wq
- link to the file in .vimrc using
set thesaurus+=/home/thesaurus.txt
- enjoy your newly created thesaurus using
Ctrl+x Ctrl+t
But...but...
Making thesaurus for every word is so laborious which is why you can download a thesaurus like Moby thesaurus which has about 20 synonyms for every word!
Alternate link to moby word.txt
link it to .vimrc and enjoy
ftp://ftp.ox.ac.uk/pub/wordlists/
but I don't see any host there.