[Hydra] Remove hydra for changing ispell dictionaries

Use standard ‘ispell-change-dictionary’ instead (it’s more generic and should
also work on Windows)
This commit is contained in:
Daniel - 2019-04-11 09:03:37 +02:00
parent e67acca3a9
commit 20e14a345b
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
2 changed files with 2 additions and 16 deletions

View File

@ -188,7 +188,7 @@
(bind-key "C-c c" #'org-capture)
(bind-key "C-c d" #'define-word-at-point)
(bind-key "C-c e" #'crux-eval-and-replace)
(bind-key "C-c i" #'hydra-ispell/body)
(bind-key "C-c i" #'ispell-change-dictionary)
(bind-key "C-c j" #'avy-goto-char-timer)
(bind-key "C-c l" #'org-store-link)
(bind-key "C-c m" #'emms-control/body)
@ -560,8 +560,7 @@ search commands like `db/helm-shortcuts."
:commands (defhydra))
(use-package db-hydras
:commands (hydra-ispell/body
hydra-toggle/body
:commands (hydra-toggle/body
hydra-zoom/body
hydra-rectangle/body))

View File

@ -9,19 +9,6 @@
;;; Hydras
(defhydra hydra-ispell (:color blue)
"ispell"
("g" (lambda ()
(interactive)
(setq ispell-dictionary "de_DE")
(ispell-change-dictionary "de_DE"))
"german")
("e" (lambda ()
(interactive)
(setq ispell-dictionary "en_US")
(ispell-change-dictionary "en_US"))
"english"))
(defhydra hydra-toggle (:color blue)
"toggle"
("c" column-number-mode "column")