You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
lua/telescope/_extensions | 2 years ago | |
.editorconfig | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 1 year ago | |
TODO.md | 2 years ago |
README.md
telescope-dict.nvim
A Telescope extension that loads a list of synonyms for the word under the cusor in the current buffer, and shows their definition in the preview window. Selecting one of the synonyms replaces the word in the buffer.
Requirements
These should be available through your package manager (or likely already installed, in the case of perl
):
perl
dictd
: dictionary serverdict-wn
: WordNet dictionary fordictd
dict-moby-thesaurus
: Moby Thesaurus dictionary fordictd
Usage
Install with packer (or similar equivalent package manager):
use 'rudism/telescope-dict.nvim'
Bind this to a key and execute it to open the synonym list for the word currently under the cursor:
require('telescope').extensions.dict.synonyms()