53

GitHub - agzam/mw-thesaurus.el: Merriam-Webster Thesaurus in Emacs

 4 years ago
source link: https://github.com/agzam/mw-thesaurus.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Merriam-Webster Thesaurus

For more than 150 years, in print and now online, Merriam-Webster has been America’s leading and most-trusted provider of language information.

This package allows you to lookup a word and display its thesaurus definition in a nice outline format

assets/thesaurus.gif

Configure

This is totally optional and you don’t have to do it, but you may want to:

In order to use Merriam Webster API it is required to register (for free) and obtain an API Key. By default this package is using my own registered key, for whatever reason if you rather use your own key or the default key stops working:

  • Register free account at Merriam-Webster’s Developer Center
  • Obtain a key for Merriam-Webster Thesaurus
  • Set the variable
(setq mw-thesaurus--api-key "YOUR-API-KEY")

Spacemacs layer

Spacemacs users can easily add the package to dotspacemacs-additional-packages and start using it, or even add it to be part of a custom layer, see an example.

Commands

mw-thesaurus-lookup-at-point - bind that to any desired hotkey

RET lookup for the word

q kill mw-thesaurus buffer and close the window


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK