From 45ba7ec39f5ee2899ad7eecd0c7f71690204d454 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Mon, 27 Apr 2015 09:52:21 -0400 Subject: [PATCH] [emacs] Add flyspell --- .emacs.d/emacs.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index a59ccda..ffe33cb 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -78,6 +78,15 @@ Helm projectile integration :ensure t :defer t) #+END_SRC +*** helm-flyspell +#+name: packages +#+begin_src emacs-lisp + (use-package helm-flyspell + :ensure t + :commands helm-flyspell-correct + :init (eval-after-load 'flyspell + '(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct))) +#+end_src ** Ace Jump #+name: packages #+BEGIN_SRC emacs-lisp @@ -124,6 +133,18 @@ Helm projectile integration :init (add-hook 'after-init-hook #'global-flycheck-mode)) #+END_SRC +** Flyspell +#+name: packages +#+BEGIN_SRC emacs-lisp + (use-package flyspell + :ensure t + :commands flyspell-mode + :diminish flyspell-mode + :config (mapcar (lambda (mode-hook) + (add-to-list mode-hook #'flyspell-mode)) + '(text-mode-hook + org-mode-hook))) +#+END_SRC ** Git-Gutter #+name: packages #+BEGIN_SRC emacs-lisp