diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2016-11-08 09:05:33 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2016-11-08 09:05:33 -0800 |
commit | 84e98aeae9a283fd1e21f2a5af08562e21dcd3fa (patch) | |
tree | 6fadd4c5fb85254ccfde73f1f18de5ef4a9a9255 | |
parent | Revert "[tmux] remove it (again)" (diff) | |
download | emacs.d-84e98aeae9a283fd1e21f2a5af08562e21dcd3fa.tar.gz |
[Emacs] A few more settings for flyspell.
Use ivy to suggest words.
-rw-r--r-- | emacs.d/init.el | 12 |
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 |