Browse files

Rename OnlineThesaurusLookup to Thesaurus

  • Loading branch information...
1 parent fc2b316 commit 955050a3ad20a26d5c3164a44864ebc65576895a @justincampbell justincampbell committed Sep 30, 2013
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.md
  2. +3 −3 doc/online-thesaurus.txt
  3. +1 −1 plugin/online-thesaurus.vim
View
2 README.md
@@ -27,7 +27,7 @@ Then run `:BundleInstall` to install the plugin.
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 `:OnlineThesaurusLookup word`.
+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.
View
6 doc/online-thesaurus.txt
@@ -22,10 +22,10 @@ MAPPINGS *online-thesaurus-mappings*
The plugin provides the |:OnlineThesaurusCurrentWord| command to look up the
current word under the cursor in an online thesaurus.
- *:OnlineThesaurusLookup*
-Alternatively, you can look up any word with |:OnlineThesaurusLookup|:
+ *:Thesaurus*
+Alternatively, you can look up any word with |:Thesaurus|:
>
- :OnlineThesaurusLookup word
+ :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.
View
2 plugin/online-thesaurus.vim
@@ -35,6 +35,6 @@ if g:online_thesaurus_map_keys
endif
command! OnlineThesaurusCurrentWord silent :call <SID>Lookup(expand('<cword>'))
-command! -nargs=1 OnlineThesaurusLookup silent :call <SID>Lookup(<f-args>)
+command! -nargs=1 Thesaurus silent :call <SID>Lookup(<f-args>)
let &cpo = s:save_cpo

0 comments on commit 955050a

Please sign in to comment.