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

How to get this plugin working with multiple words, like phrasal verbs? #30

Closed gagallo7 closed 9 years ago

gagallo7 commented 9 years ago

First of all, I'm very happy with this plugin.

But I was just wondering if there is support for phrasal verbs inputs like "get along with". Since thesaurus has this feature: http://www.thesaurus.com/browse/get%20along%20with?s=t

annagrram commented 9 years ago

:Thesaurus get along with

beloglazov commented 9 years ago

You could use what @av3r4ge suggested, or you could also add a visual mode mapping like the following, which requests a thesaurus entry for the selected text:

vnoremap <unique> <LocalLeader>K y:Thesaurus <C-r>"<CR>