This commit is contained in:
Zelong Kuang
2026-04-03 15:12:32 +11:00
parent 4607880ca4
commit 154c0c3fb8
5 changed files with 27 additions and 1 deletions

19
lisp/init-writing.el Normal file
View File

@@ -0,0 +1,19 @@
;; -*- lexical-binding: t; -*-
(use-package flyspell
:ensure nil
:commands flyspell-mode
:bind (:map flyspell-mode-map
("C-M-i" . nil)
("C-;" . nil)
("C-," . nil)
("C-; C-4" . 'flyspell-auto-correct-previous-word)
;; ("C-; n" . 'flyspell-goto-next-error)
))
(use-package jinx
:hook ((text-mode prog-mode conf-mode org-mode) . jinx-mode)
:commands jinx-mode
:bind ([remap ispell-word] . jinx-correct))
(provide 'init-writing)