lang/org: rethink flyspell keybinds
- Remove ]s/[s keybinds in org-mode (rebound to ]c/[c); they overwrote next/prev flyspell error commands (which are vim defaults) - Remove ]S/[S because z= already exists - Remove redundant ]s/[s global keybinds (already bound by evil) - Mention missing and evil's flyspell keybinds in a comment
This commit is contained in:
parent
4b631f07ef
commit
bf2aedc510
2 changed files with 10 additions and 6 deletions
|
@ -202,10 +202,14 @@
|
|||
[delete] #'+snippets/delete-forward-char-or-field)))
|
||||
|
||||
(:when (featurep! :tools flyspell)
|
||||
:m "]s" #'evil-next-flyspell-error
|
||||
:m "[s" #'evil-prev-flyspell-error
|
||||
:m "]S" #'flyspell-correct-word-generic
|
||||
:m "[S" #'flyspell-correct-previous-word-generic
|
||||
;; Keybinds that have no Emacs+evil analogues (i.e. don't exist):
|
||||
;; zq - mark word at point as good word
|
||||
;; zw - mark word at point as bad
|
||||
;; zu{q,w} - undo last marking
|
||||
;; Keybinds that evil define:
|
||||
;; z= - correct flyspell word at point
|
||||
;; ]s - jump to previous spelling error
|
||||
;; [s - jump to next spelling error
|
||||
(:map flyspell-mouse-map
|
||||
"RET" #'flyspell-correct-word-generic
|
||||
[return] #'flyspell-correct-word-generic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue