All Projects → beloglazov → Vim Online Thesaurus

beloglazov / Vim Online Thesaurus

Licence: apache-2.0
A Vim plugin for looking up words in an online thesaurus

Labels

Projects that are alternatives of or similar to Vim Online Thesaurus

8cc.vim
C Compiler written in Vim script
Stars: ✭ 205 (-15.29%)
Mutual labels:  viml
Phpcomplete Extended
A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
Stars: ✭ 218 (-9.92%)
Mutual labels:  viml
Vim Gocode
A Go bundle for Vundle or Pathogen
Stars: ✭ 232 (-4.13%)
Mutual labels:  viml
Cocoa.vim
Vim plugin for Cocoa/Objective-C development. No longer actively developed.
Stars: ✭ 205 (-15.29%)
Mutual labels:  viml
Csapprox
Make gvim-only colorschemes work transparently in terminal vim
Stars: ✭ 215 (-11.16%)
Mutual labels:  viml
Sachet
Handcraft your development environment
Stars: ✭ 221 (-8.68%)
Mutual labels:  viml
Vimfiles
My Vim configuration
Stars: ✭ 201 (-16.94%)
Mutual labels:  viml
Conque Shell
Run interactive commands inside a Vim buffer
Stars: ✭ 241 (-0.41%)
Mutual labels:  viml
Fuzzyfinder textmate
A vim script that extends the fuzzyfinder plugin to support TextMate style file searches (e.g. cmd-T) (Unmaintained now, see http://weblog.jamisbuck.org/2009/1/28/the-future-of-fuzzyfinder-textmate)
Stars: ✭ 216 (-10.74%)
Mutual labels:  viml
Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (-7.02%)
Mutual labels:  viml
Vim Kalisi
The colorscheme with neovim in mind
Stars: ✭ 207 (-14.46%)
Mutual labels:  viml
Goldenview.vim
Always have a nice view for vim split windows!
Stars: ✭ 214 (-11.57%)
Mutual labels:  viml
Vim Maximizer
Maximizes and restores the current window in Vim.
Stars: ✭ 220 (-9.09%)
Mutual labels:  viml
Vim Distinguished
A dark vim color scheme for 256-color terminals.
Stars: ✭ 205 (-15.29%)
Mutual labels:  viml
Flappyvird Vim
Stars: ✭ 236 (-2.48%)
Mutual labels:  viml
Vim Go
Go development plugin for Vim
Stars: ✭ 14,085 (+5720.25%)
Mutual labels:  viml
Autocomplpop
Automatically opens popup menu for completions
Stars: ✭ 219 (-9.5%)
Mutual labels:  viml
Drawit
Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
Stars: ✭ 243 (+0.41%)
Mutual labels:  viml
Dotfiles
My dotfiles
Stars: ✭ 238 (-1.65%)
Mutual labels:  viml
Config files
My config files (aka dotfiles)
Stars: ✭ 222 (-8.26%)
Mutual labels:  viml

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 http://thesaurus.com/

The plugin displays the definition of the word under the cursor and a list of synonyms.

The credit for the original idea and code goes to Nick Coleman: http://www.nickcoleman.org/

Installation

If you are using Vundle, just add the following line to your .vimrc:

Plugin 'beloglazov/vim-online-thesaurus'

Then run :PluginInstall to install the plugin.

Note: Earlier versions required the "Bundle" keyword instead of plugin (i.e. :BundleInstall and Bundle 'beloglazov/vim-online-thesaurus'). However, this is deprecated and should not be used any longer.

Usage

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 http://thesaurus.com/, 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.

Configuration

If you want to disable the default key binding, add the following line to your .vimrc:

let g:online_thesaurus_map_keys = 0

Then you can map the :OnlineThesaurusCurrentWord command to anything you want as follows:

nnoremap <your key binding> :OnlineThesaurusCurrentWord<CR>

Enjoy!

Contributors

Big thanks to the following people who contributed to the development of this plugin!

License

Copyright (c) Anton Beloglazov, Google Inc. Distributed under the Apache 2.0 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].