Emacs: Add shortcut for flyspell-correct-word for TUI.

`C-.` doesn't work in terminal Emacs, so I added `C-c .`.
This commit is contained in:
tastytea 2021-03-11 13:44:29 +01:00
parent b11721fdb3
commit a5d6f9a88e
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@
:bind (("<f8>" . my/toggle-flyspell)
(:map flyspell-mode-map
("C-;" . nil) ; iedit needs C-;.
("C-M-i" . nil))) ; imenu-anywhere needs it.
("C-M-i" . nil) ; imenu-anywhere needs it.
("C-c ." . flyspell-auto-correct-word))) ; C-. doesn't work in TUI.
:hook ((prog-mode . flyspell-prog-mode) ; Spellcheck comments.
(text-mode . flyspell-mode) ; Spellcheck text documents ↓.
(LaTeX-mode . my/flyspell-german)