Disable spell-fu keybinding if +flyspell enabled
This commit is contained in:
parent
e3750dbf66
commit
f6bae75bff
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
(:when (not (featurep! :checkers spell +flyspell))
|
||||||
:n "zq" #'spell-fu-word-add
|
:n "zq" #'spell-fu-word-add
|
||||||
:n "zw" #'spell-fu-word-remove
|
:n "zw" #'spell-fu-word-remove
|
||||||
:m "[s" #'spell-fu-goto-previous-error
|
:m "[s" #'spell-fu-goto-previous-error
|
||||||
:m "]s" #'spell-fu-goto-next-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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue