emacs: replace flyspell with jinx (again :^)
Alan Pearce alan@alanpearce.eu
Thu, 25 Apr 2024 17:21:20 +0200
2 files changed, 9 insertions(+), 3 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -1030,9 +1030,14 @@ (setq-default ispell-dictionary "en_GB-ise-w_accents") (setq ispell-extra-args '("--sug-mode=ultra" "--camel-case")) -(use-package flyspell - :ghook ('prog-mode-hook #'flyspell-prog-mode) - :ghook ('text-mode-hook #'flyspell-mode)) +(use-package jinx-mode + :defer 1 + :ghook ('(text-mode-hook + prog-mode-hook + conf-mode-hook)) + :general ([remap ispell-word] #'jinx-correct-word + [remap evil-prev-flyspell-error] #'jinx-previous + [remap evil-next-flyspell-error] #'jinx-next)) (use-package feature-mode :defer t
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -123,6 +123,7 @@ git-timemachine goto-chg helpful ibuffer-project + jinx just-mode justl json-mode