diff options
author | jao <jao@gnu.org> | 2022-04-21 23:13:41 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-21 23:13:41 +0100 |
commit | 06c864bc322bd7bfb6dc985066b0e676119b6133 (patch) | |
tree | ffb72d04e9855f9c2903b55f913546a531decd60 | |
parent | 27df72073e2955db9c8698402b56fd1e7c9e3ab8 (diff) | |
download | elibs-06c864bc322bd7bfb6dc985066b0e676119b6133.tar.gz elibs-06c864bc322bd7bfb6dc985066b0e676119b6133.tar.bz2 |
wordreference
-rw-r--r-- | init.org | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1387,7 +1387,7 @@ (add-hook 'text-mode-hook 'turn-on-auto-fill) #+end_src *** Dictionaries - #+BEGIN_SRC emacs-lisp + #+begin_src emacs-lisp (defun jao-word-definition-lookup () "Look up the word under cursor in a browser." (interactive) @@ -1408,13 +1408,18 @@ dictionary-popup-matching-words dictionary-tooltip-mode global-dictionary-tooltip-mode) - :bind (("C-c d" . dictionary-search) - ("C-c D" . jao-word-definition-lookup))) + :bind (("C-c d" . dictionary-search))) (setq ispell-personal-dictionary (expand-file-name "~/.emacs.d/ispell.dict")) - #+END_SRC + (use-package wordreference + :ensure t + :init (setq wordreference-target-lang "es" + wordreference-source-lang "en") + :bind (("C-c D" . wordreference-search))) + + #+end_src *** Markdown #+BEGIN_SRC emacs-lisp (use-package markdown-mode |