tweak(spell): remove RET keybind for +spell/correct
z= and M-$ are available. RET on arbitrary misspellings make DWIM commands in text modes unpredictable, like org and markdown.
This commit is contained in:
parent
d9dc7339c4
commit
b37d8481ce
1 changed files with 0 additions and 6 deletions
|
@ -134,12 +134,6 @@
|
||||||
prog-mode-hook)
|
prog-mode-hook)
|
||||||
#'spell-fu-mode))
|
#'spell-fu-mode))
|
||||||
:config
|
:config
|
||||||
(map! :after spell-fu
|
|
||||||
:map override
|
|
||||||
:n [return]
|
|
||||||
(cmds! (memq 'spell-fu-incorrect-face (face-at-point nil t))
|
|
||||||
#'+spell/correct))
|
|
||||||
|
|
||||||
;; TODO PR this fix upstream!
|
;; TODO PR this fix upstream!
|
||||||
(defadvice! +spell--fix-face-detection-a (fn &rest args)
|
(defadvice! +spell--fix-face-detection-a (fn &rest args)
|
||||||
"`spell-fu--faces-at-point' uses face detection that won't penetrary
|
"`spell-fu--faces-at-point' uses face detection that won't penetrary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue