about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-11-19 07:49:30 +0000
committerDavid Morgan <djm_uk@protonmail.com>2024-11-19 07:49:30 +0000
commit680f3182b683fd764c24d056ec468b810bd5e88e (patch)
tree00f3061e85645173edb5a013aee8cbc9382be427
parent7d7338afe2623d77ca6024b45e8222f6f5f08663 (diff)
downloaddotfiles-master.tar.gz
Change flyspell bindings HEAD master
-rw-r--r--.emacs.d/lisp/init-editor.el7
1 files changed, 7 insertions, 0 deletions
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))