Skip to main content
improved formatting and changed link
Source Link
Ashok Arora
  • 869
  • 1
  • 7
  • 13

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 :

  1. touch thesaurus.txt
  2. write important,valuable,substantial,significant inside it and :wq
  3. link to the file in .vimrc using set thesaurus+=/home/thesaurus.txt
  4. 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!

The download file is in .zip but after unzipping, you will find three files among which mthesaurus.txt is the required oneAlternate link to moby word.txt

link it to .vimrc and enjoy

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 :

  1. touch thesaurus.txt
  2. write important,valuable,substantial,significant inside it and :wq
  3. link to the file in .vimrc using set thesaurus+=/home/thesaurus.txt
  4. 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!

The download file is in .zip but after unzipping, you will find three files among which mthesaurus.txt is the required one.

link it to .vimrc and enjoy

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 :

  1. touch thesaurus.txt
  2. write important,valuable,substantial,significant inside it and :wq
  3. link to the file in .vimrc using set thesaurus+=/home/thesaurus.txt
  4. 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

Source Link
Ashok Arora
  • 869
  • 1
  • 7
  • 13

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 :

  1. touch thesaurus.txt
  2. write important,valuable,substantial,significant inside it and :wq
  3. link to the file in .vimrc using set thesaurus+=/home/thesaurus.txt
  4. 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!

The download file is in .zip but after unzipping, you will find three files among which mthesaurus.txt is the required one.

link it to .vimrc and enjoy