From a9b6773e1c864561d358405a988c27fe443b5f71 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 23 Oct 2017 14:27:09 +0200 Subject: Emacs: Configure define-word package --- emacs/.emacs.d/main.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 09c7368d..16b54059 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -2312,6 +2312,15 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer." (add-hook 'text-mode-hook 'fly-text-mode-hook-setup) (add-hook 'prog-mode-hook #'flyspell-prog-mode))) +;;;;; Dictionary + +;; One thing I miss from macOS is the "look up" functionality to define +;; words by a certain gesture. =define-word= can provide something +;; similar, at least in Emacs. + +(use-package define-word + :bind ("M-" . define-word-at-point)) + ;;;;; Style checking ;; [[https://github.com/ValeLint/vale][Vale]] is a linter, but for prose. Neat idea! Salesman is a bad term. -- cgit 1.4.1