From 19eb0a3956c9417066c01c89bc9a7f87b75012e7 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sat, 18 Aug 2018 18:06:18 -0400 Subject: [PATCH] add flyspell and evil surround --- conf.org | 12 ++++++++++++ init.el | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/conf.org b/conf.org index fdce55d..6789da6 100644 --- a/conf.org +++ b/conf.org @@ -339,6 +339,10 @@ event of an error or nonlocal exit." (yas-reload-all)) #+END_SRC * languages +** flyspell +#+BEGIN_SRC emacs-lisp +(setq flyspell-issue-message-flag nil) +#+END_SRC ** progmode #+BEGIN_SRC emacs-lisp (add-hook 'prog-mode-hook #'prettify-symbols-mode) @@ -1647,6 +1651,14 @@ I like being evil. All package and custom bindings go here. :config (evil-mode 1)) #+END_SRC +*** surround +#+BEGIN_SRC emacs-lisp +(use-package evil-surround + :ensure t + :after evil + :config + (global-evil-surround-mode 1)) +#+END_SRC *** unbind emacs keys Some of these commands just get in the way of being evil (which really means that I keep pressing them on accident). Rather than nullifying them completely, tuck them away in the emacs state map in case I actually want them. #+BEGIN_SRC emacs-lisp diff --git a/init.el b/init.el index 60dcb58..f717262 100644 --- a/init.el +++ b/init.el @@ -21,7 +21,7 @@ ;; If there is more than one, they won't work right. '(package-selected-packages (quote - (markdown-mode polymode csv-mode company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window)))) + (evil-surround markdown-mode polymode csv-mode company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.