• Stars
    star
    245
  • Rank 165,304 (Top 4 %)
  • Language
    Vim Script
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Vim plugin for looking up words in an online thesaurus

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.

More Repositories

1

zotero-scholar-citations

Zotero plugin for auto-fetching numbers of citations from Google Scholar
JavaScript
546
star
2

openstack-centos-kvm-glusterfs

A Step-by-Step Guide to Deploying OpenStack on CentOS Using the KVM Hypervisor and GlusterFS Distributed File System
Shell
114
star
3

vim-textobj-quotes

A Vim plugin providing text objects for the closest pairs of quotes of any type
Vim Script
66
star
4

couchdb-scala

A purely functional Scala client for CouchDB
Scala
65
star
5

openstack-neat

OpenStack Neat: A Framework for Dynamic Consolidation of Virtual Machines in OpenStack Clouds
Python
62
star
6

cpu-load-generator

A tool for generating a set of subsequent CPU utilization levels
Python
52
star
7

arch-xmonad-zsh

Arch Linux, Xmonad, Zsh, and friends - my configuration
Emacs Lisp
32
star
8

vimrc

My Vim configuration
Vim Script
32
star
9

planetlab-workload-traces

A set of CPU utilization traces from PlanetLab VMs collected during 10 random days in March and April 2011
26
star
10

arch-config

My configuration of Arch Linux and command line tools
Shell
17
star
11

vim-textobj-punctuation

A Vim text object from the cursor position to the closest punctuation in front
Vim Script
12
star
12

dotfiles

My dotfiles managed with rcm
Vim Script
7
star
13

fish-config

My fish configuration
Shell
5
star
14

arch-kvm

A set of scripts for setting up KVM on Arch Linux
Shell
5
star
15

centos-xmonad-zsh

Emacs Lisp
4
star
16

ccpe-2014-experiments

Python
4
star
17

clj-genetic

A Clojure library for solving optimization problems using real-coded Genetic Algorithms.
Clojure
4
star
18

tpds-2013-workload

The workload traces used in the simulations for the paper entitled "Managing Overloaded Hosts for Dynamic Consolidation of Virtual Machines in Cloud Data Centers Under Quality of Service Constraints", which has been accepted to IEEE Transactions on Parallel and Distributed Systems.
4
star
19

arch-lotus-notes

A set of Shell scripts for installing Lotus Notes on Arch Linux
Shell
3
star
20

beloglazov.info

My website
HTML
3
star
21

openstack-arch-dev

Scripts for setting up a development environment for OpenStack under Arch Linux
Shell
3
star
22

hamcrest-querydsl

A library of Hamcrest matchers for Querydsl
Java
3
star
23

clojure-archetype-servlet

A Maven archetype for creating a blank Clojure servlet project configured to use Jetty with auto compilation and reloading.
Clojure
2
star
24

chrome-url-opener

This Chrome extension allows you to save several URLs and open all of them in one click.
JavaScript
2
star
25

nexus-s-unlock-flash-rom

A step-by-step guide to unlocking a Nexus S and flashing a custom ROM
Shell
2
star
26

python-google-oauth-devices

A Python 3 library implementing: https://developers.google.com/accounts/docs/OAuth2ForDevices
2
star
27

tpds-2013-simulation

The source code and results of the simulations for the paper entitled "Managing Overloaded Hosts for Dynamic Consolidation of Virtual Machines in Cloud Data Centers Under Quality of Service Constraints", which has been accepted to IEEE Transactions on Parallel and Distributed Systems.
Clojure
2
star
28

xmonad-config

My Xmonad config
Haskell
1
star
29

gmail-dark-theme

A minimalistic dark theme for Gmail
CSS
1
star
30

haskell-course

Homework solutions for the Haskell course at http://www.seas.upenn.edu/~cis194/
Haskell
1
star
31

mac-config

My configuration for Mac
Shell
1
star
32

zsh-remote

Shell configuration to use on remote machines
Emacs Lisp
1
star
33

clj-predicates

A small library of useful predicate functions missing in the core Clojure library
Clojure
1
star
34

beloglazov.github.io

The generated content of
HTML
1
star
35

bottom-hover-clock

A simple extension for Gnome 3 that display a pop-up with current date and time when you move the mouse to the bottom of the screen.
JavaScript
1
star
36

jsr-2014

State machine model diagrams for the paper entitled "A Product Line of IT Service Delivery Simulation Models", which has been submitted to the Journal of Service Research.
1
star