all repos — nixfiles @ a9b6773e1c864561d358405a988c27fe443b5f71

System and user configuration, managed by nix and home-manager

Emacs: Configure define-word package

Alan Pearce
commit

a9b6773e1c864561d358405a988c27fe443b5f71

parent

905eb9464776c47504fef096f791e49141fa5d72

1 file changed, 9 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2312,6 +2312,15 @@ (setq-local ispell-extra-args (flyspell-detect-ispell-args)))
(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-<f8>" . 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.