diff options
-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 |