all repos — nixfiles @ 798453ea55052c6af1752c1d6b1243e7c2591afd

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

emacs: replace flyspell with jinx (again :^)

Alan Pearce
commit

798453ea55052c6af1752c1d6b1243e7c2591afd

parent

c244201a379ecc5353a1b0cc6882ea321fd1233d

2 files changed, 9 insertions(+), 3 deletions(-)

jump to
M user/emacs/init.eluser/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.nixuser/settings/emacs.nix
@@ -123,6 +123,7 @@ git-timemachine
goto-chg helpful ibuffer-project + jinx just-mode justl json-mode