From 84e98aeae9a283fd1e21f2a5af08562e21dcd3fa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 8 Nov 2016 09:05:33 -0800 Subject: [Emacs] A few more settings for flyspell. Use ivy to suggest words. --- emacs.d/init.el | 12 +++++++++--- 1 file 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 -- cgit 1.4.1