From dad40af0ba1f385dddbeb667893b44e16c7dc3d6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 9 Feb 2021 22:44:19 -0600 Subject: Configure flyspell --- config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config.org b/config.org index aa75459..4a7a391 100644 --- a/config.org +++ b/config.org @@ -1601,6 +1601,25 @@ Let's use =hunspell=. (write-region "" nil ispell-personal-dictionary nil 0)) #+end_src +*** Flyspell + +#+begin_src emacs-lisp :noweb-ref hooks + (add-hook 'text-mode-hook #'flyspell-mode) + (add-hook 'prog-mode-hook #'flyspell-prog-mode) +#+end_src + +*** Flyspell-correct :package: + +Display corrections with =completing-read=. + +#+begin_src emacs-lisp :noweb-ref packages + (straight-use-package 'flyspell-correct) +#+end_src + +#+begin_src emacs-lisp :noweb-ref bindings + (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper) +#+end_src + * Reading ** Smooth-scrolling of images :package: -- cgit 1.4.1-21-gabe81