not logged in (
vim-online-thesaurus : A Vim plugin for looking up words in an online thesaurus
, Downloaded by 920
Comments, bugs, improvements
# Vim Online Thesaurus
This is a plugin for Vim allowing you to look up words in an online thesaurus,
which is at the moment configured to be
The plugin displays the definition of the word under the cursor and a list of
The credit for the original idea and code goes to Nick Coleman:
The plugin provides the `:OnlineThesaurusCurrentWord` command to look up the
current word under the cursor in an online thesaurus. Alternatively, you can
look up any word with `:Thesaurus word`.
Internally, both commands make a request to
, parse the
results, and display them in a vertical split in the bottom.
By default the `:OnlineThesaurusCurrentWord` command is mapped to
`<LocalLeader>K`. If you haven't remapped `<LocalLeader>`, it defaults to `\`.
To close the split, just press `q`.
If you want to disable the default key binding, add the following line to your
let g:online_thesaurus_map_keys = 0
Then you can map the `:OnlineThesaurusCurrentWord` command to anything you want
nnoremap <your key binding> :OnlineThesaurusCurrentWord<CR>
Copyright (c) Anton Beloglazov. Distributed under the same terms as Vim itself.
See :help license.
Unpack the tarball to your plugin directory. If you are using Vundle, just add the following line to your .vimrc:
Then run `:BundleInstall` to install the plugin.
rate this script
upload new version
Click on the package to download.
Fixed Windows compatibility:
Improved Windows support:
Updated the parser to adapt to the new HTML layout of thesaurus.com
Split the default command into two: `:OnlineThesaurusCurrentWord` and a short command that can be called manually with an argument `:Thesaurus word`.
A few cross-platform compatibility improvements
Fixed the plugin to work correctly with the new version of thesaurus.com
Fixed the documentation: `let g:online_thesaurus_map_keys = 0` to disable the default key binding
Replaced wget with curl (available on Mac OS X by default).
Fixed some Mac/Linux compatibility issues.
ip used for rating: 22.214.171.124
If you have questions or remarks about this site, visit the
pages. Please use this site responsibly.
should go to the
. Help Bram