beloglazov / vim-online-thesaurus

A Vim plugin for looking up words in an online thesaurus
Apache License 2.0
247 stars 21 forks source link

Change Lookup to take an argument #4

Closed justincampbell closed 11 years ago

justincampbell commented 11 years ago

Also Rename OnlineThesaurusLookup to OnlineThesaurusCurrentWord, and allow the user to search for arbitrary words using OnlineThesaurusLookup

justincampbell commented 11 years ago

@beloglazov Would you also accept if I added a Thesaurus or Synonym function? I'd really like to just be able to type :Thesaurus user or :Synonym user and get the results, instead of the much longer :OnlineThesaurusLookup user.

beloglazov commented 11 years ago

Hi, thanks for the changes! I like the idea of being able to just call :Thesaurus user and get the results. I agree to rename the current function to OnlineThesaurusCurrentWord, as it's more specific. However, let's keep the previous name OnlineThesaurusLookup as an alias to not break anyone's existing configuration. What do you think?

justincampbell commented 11 years ago

@beloglazov I've updated this pull with the Thesaurus changes, and added OnlineThesaurusLookup back as a command. Thanks!