diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-11-19 07:49:30 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-11-19 07:49:30 +0000 |
commit | 680f3182b683fd764c24d056ec468b810bd5e88e (patch) | |
tree | 00f3061e85645173edb5a013aee8cbc9382be427 /.emacs.d/lisp | |
parent | 7d7338afe2623d77ca6024b45e8222f6f5f08663 (diff) | |
download | dotfiles-680f3182b683fd764c24d056ec468b810bd5e88e.tar.gz |
Change flyspell bindings
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 7 |
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)) |