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:
parent
3ff85f6f37
commit
facfeb5f7a
1 changed files with 5 additions and 0 deletions
|
@ -478,6 +478,11 @@
|
|||
;; flyspell
|
||||
:m "]S" #'flyspell-correct-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
|
||||
:m "]d" #'git-gutter:next-hunk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue