diff --git a/modules/config/default/+emacs-bindings.el b/modules/config/default/+emacs-bindings.el index c9579e258..4c0726df2 100644 --- a/modules/config/default/+emacs-bindings.el +++ b/modules/config/default/+emacs-bindings.el @@ -279,8 +279,10 @@ (:when (featurep! :lang org +present) :desc "org-tree-slide mode" "p" #'org-tree-slide-mode) :desc "Read-only mode" "r" #'read-only-mode - (:when (featurep! :checkers spell) + (:when (and (featurep! :checkers spell) (not (featurep! :checkers spell +flyspell))) :desc "Spell checker" "s" #'spell-fu-mode) + (:when (featurep! :checkers spell +flyspell) + :desc "Spell checker" "s" #'flyspell-mode) (:when (featurep! :lang org +pomodoro) :desc "Pomodoro timer" "t" #'org-pomodoro) (:when (featurep! :ui zen) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 35adb0e4a..5b6cea3f9 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -661,8 +661,10 @@ (:when (featurep! :lang org +present) :desc "org-tree-slide mode" "p" #'org-tree-slide-mode) :desc "Read-only mode" "r" #'read-only-mode - (:when (featurep! :checkers spell) + (:when (and (featurep! :checkers spell) (not (featurep! :checkers spell +flyspell))) :desc "Spell checker" "s" #'spell-fu-mode) + (:when (featurep! :checkers spell +flyspell) + :desc "Spell checker" "s" #'flyspell-mode) (:when (featurep! :lang org +pomodoro) :desc "Pomodoro timer" "t" #'org-pomodoro) :desc "Soft line wrapping" "w" #'visual-line-mode