Change flyspell keybindings: <f5>=prev, <f6>=next, <f7>=toggle.

This commit is contained in:
tastytea 2019-09-25 01:09:24 +02:00
parent 823275a431
commit eea43755e2
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-09-24T23:01:29+00:00> ;; Time-stamp: <2019-09-24T23:07:53+00:00>
;;; Commentary: ;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with ;; I am using this file with Emacs 26, but most of it will probably work with
@ -833,7 +833,9 @@ With argument, do this that many times."
(interactive) (interactive)
(ispell-change-dictionary "german")) (ispell-change-dictionary "german"))
:bind :bind
("<f6>" . my/toggle-flyspell) ("<f5>" . flycheck-previous-error)
("<f6>" . flycheck-next-error)
("<f7>" . my/toggle-flyspell)
(:map flyspell-mode-map (:map flyspell-mode-map
("C-;" . nil)) ; iedit needs C-;. ("C-;" . nil)) ; iedit needs C-;.
:hook :hook