summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2021-02-09 22:44:19 -0600
committerCase Duckworth2021-02-09 22:44:19 -0600
commitdad40af0ba1f385dddbeb667893b44e16c7dc3d6 (patch)
tree30c2df51f96236e2b4776b6480c6bccf4f857220 /config.org
parentMerge branch 'main' of tildegit.org:acdw/emacs (diff)
downloademacs-dad40af0ba1f385dddbeb667893b44e16c7dc3d6.tar.gz
emacs-dad40af0ba1f385dddbeb667893b44e16c7dc3d6.zip
Configure flyspell
Diffstat (limited to 'config.org')
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
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=.
1601 (write-region "" nil ispell-personal-dictionary nil 0)) 1601 (write-region "" nil ispell-personal-dictionary nil 0))
1602#+end_src 1602#+end_src
1603 1603
1604*** Flyspell
1605
1606#+begin_src emacs-lisp :noweb-ref hooks
1607 (add-hook 'text-mode-hook #'flyspell-mode)
1608 (add-hook 'prog-mode-hook #'flyspell-prog-mode)
1609#+end_src
1610
1611*** Flyspell-correct :package:
1612
1613Display corrections with =completing-read=.
1614
1615#+begin_src emacs-lisp :noweb-ref packages
1616 (straight-use-package 'flyspell-correct)
1617#+end_src
1618
1619#+begin_src emacs-lisp :noweb-ref bindings
1620 (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper)
1621#+end_src
1622
1604* Reading 1623* Reading
1605 1624
1606** Smooth-scrolling of images :package: 1625** Smooth-scrolling of images :package: