summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/init.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 1da46db..26cde75 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -167,10 +167,16 @@
 
 (use-package flyspell
   :ensure t
-  :diminish flyspell-mode
+  :diminish ""
   :init
-  (setq ispell-program-name "aspell"
-        ispell-list-command "--list"))
+  (progn
+    (setq ispell-program-name "aspell"
+          ispell-list-command "--list")
+    (add-hook 'text-mode-hook 'flyspell-mode))
+  :config
+  (use-package flyspell-correct-ivy
+      :ensure t
+      :bind ("C-:" . flyspell-correct-word-generic)))
 
 (use-package geiser
   :ensure t