From 680f3182b683fd764c24d056ec468b810bd5e88e Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 19 Nov 2024 07:49:30 +0000 Subject: Change flyspell bindings --- .emacs.d/lisp/init-editor.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index 1143b59..4ad20bc 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -116,6 +116,13 @@ :config (when (string-suffix-p "aspell" ispell-program-name) (setq ispell-extra-args '("--sug-mode=ultra"))) + (unbind-key "C-," flyspell-mode-map) + (unbind-key "C-." flyspell-mode-map) + ;;(unbind-key "C-;" flyspell-mode-map) + :custom (flyspell-auto-correct-binding (kbd "C-x C-M-;")) + :bind (:map flyspell-mode-map + ("C-x C-," . flyspell-goto-next-error) + ("C-x C-." . flyspell-correct-word)) :hook (text-mode . flyspell-mode) (prog-mode . flyspell-prog-mode)) -- cgit 1.4.1-2-gfad0