mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Correct flyspell highlighted word on mouse-1 or RET
RET will only trigger if cursor is on the highlighted word.
This commit is contained in:
@ -478,6 +478,11 @@
|
|||||||
;; flyspell
|
;; flyspell
|
||||||
:m "]S" #'flyspell-correct-word-generic
|
:m "]S" #'flyspell-correct-word-generic
|
||||||
:m "[S" #'flyspell-correct-previous-word-generic
|
:m "[S" #'flyspell-correct-previous-word-generic
|
||||||
|
(:after flyspell
|
||||||
|
;; Press RET on misspelled words to correct them
|
||||||
|
(:map flyspell-mouse-map
|
||||||
|
"RET" #'flyspell-correct-word-generic
|
||||||
|
"<mouse-1>" #'flyspell-correct-word-generic))
|
||||||
|
|
||||||
;; git-gutter
|
;; git-gutter
|
||||||
:m "]d" #'git-gutter:next-hunk
|
:m "]d" #'git-gutter:next-hunk
|
||||||
|
Reference in New Issue
Block a user