Skip to content

dahu/vimdictive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vimdictive

Finding meaning in your Vim

Tip
If you like vimdictive and want to share the W00t!, I’m grateful for tips or beverages.

Vimdictive is a plugin for dict.org style dictionary and thesaurus lookups from within Vim.

Global Maps:
  • <leader>dm - Show meaning of word under cursor in the Preview Window.

  • <leader>ds - Show synonyms for word under cursor in the Preview Window.

  • <leader>df - Set the synonym regex filter.

  • <leader>dr - Set the synonym rhyme filter.

    Note
    The rhyme filter depends on having rhyme installed.
Maps from within the Preview Window:
  • <enter> - Show meaning of word under cursor in the Vimdictive browser (window).

  • <backspace> - Show synonyms for word under cursor in the Vimdictive browser.

  • q - Close the Vimdictive browser.

  • <F5> - Refresh Vimdictive browser with most recent query results.

Configuration

By default, Vimdictive accesses http://dict.org/ for dictionary and thesaurus lookups. You can customise this with a setting in your ~/.vimrc like:

let vimdictive_dicts = {
      \ 'dictionary' : ['localhost', ['gcide']],
      \ 'thesaurus' : ['localhost', ['moby-thesaurus']]
      \ }

The curl approach in this plugin was borrowed from the vim-dict plugin.

About

Finding meaning in your Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published