mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -134,12 +134,6 @@
|
||||
prog-mode-hook)
|
||||
#'spell-fu-mode))
|
||||
: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!
|
||||
(defadvice! +spell--fix-face-detection-a (fn &rest args)
|
||||
"`spell-fu--faces-at-point' uses face detection that won't penetrary
|
||||
|
Reference in New Issue
Block a user