mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Disable spell-fu keybinding if +flyspell enabled
This commit is contained in:
@ -382,10 +382,12 @@ directives. By default, this only recognizes C directives.")
|
|||||||
|
|
||||||
;; implement dictionary keybinds
|
;; implement dictionary keybinds
|
||||||
;; evil already defines 'z=' to `ispell-word' = correct word at point
|
;; evil already defines 'z=' to `ispell-word' = correct word at point
|
||||||
:n "zq" #'spell-fu-word-add
|
(:when (not (featurep! :checkers spell +flyspell))
|
||||||
:n "zw" #'spell-fu-word-remove
|
:n "zq" #'spell-fu-word-add
|
||||||
:m "[s" #'spell-fu-goto-previous-error
|
:n "zw" #'spell-fu-word-remove
|
||||||
:m "]s" #'spell-fu-goto-next-error
|
:m "[s" #'spell-fu-goto-previous-error
|
||||||
|
:m "]s" #'spell-fu-goto-next-error
|
||||||
|
)
|
||||||
|
|
||||||
;; ported from vim-unimpaired
|
;; ported from vim-unimpaired
|
||||||
:n "] SPC" #'+evil/insert-newline-below
|
:n "] SPC" #'+evil/insert-newline-below
|
||||||
|
Reference in New Issue
Block a user