Merge pull request #2276 from brettlyons/patch-1
tools/flyspell: fix flyspell-correct
This commit is contained in:
commit
369a304f7a
2 changed files with 5 additions and 5 deletions
|
@ -509,7 +509,7 @@ To change these keys see `+evil-repeat-keys'."
|
|||
:n "gr" #'elfeed-search-update--force
|
||||
:n "gR" #'elfeed-search-fetch))
|
||||
|
||||
:nv "z=" #'flyspell-correct-word-generic
|
||||
:nv "z=" #'flyspell-correct-at-point
|
||||
;; custom evil keybinds
|
||||
:nv "zn" #'+evil:narrow-buffer
|
||||
:n "zN" #'doom/widen-indirectly-narrowed-buffer
|
||||
|
|
|
@ -68,13 +68,13 @@ e.g. proselint and langtool."
|
|||
(add-hook 'flyspell-mode-hook #'+flyspell-init-predicate-h)
|
||||
|
||||
(map! :map flyspell-mouse-map
|
||||
"RET" #'flyspell-correct-word-generic
|
||||
[return] #'flyspell-correct-word-generic
|
||||
[mouse-1] #'flyspell-correct-word-generic))
|
||||
"RET" #'flyspell-correct-at-point
|
||||
[return] #'flyspell-correct-at-point
|
||||
[mouse-1] #'flyspell-correct-at-point))
|
||||
|
||||
|
||||
(use-package! flyspell-correct
|
||||
:commands flyspell-correct-word-generic flyspell-correct-previous-word-generic
|
||||
:commands flyspell-correct-at-point flyspell-correct-previous
|
||||
:config
|
||||
(cond ((and (featurep! :completion helm)
|
||||
(require 'flyspell-correct-helm nil t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue