summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-06-17 11:58:00 +0200
committerAlan Pearce2019-06-17 11:58:00 +0200
commitec9c6bce04349b9c766c0bbbf72eda6669a2645e (patch)
treec186c20831d8ea9c89e4764eb5d7498bf9118a21 /emacs
parent3941abeb18f6f582bad1bf2f51deeb21cf829fb5 (diff)
downloaddotfiles-ec9c6bce04349b9c766c0bbbf72eda6669a2645e.tar.lz
dotfiles-ec9c6bce04349b9c766c0bbbf72eda6669a2645e.tar.zst
dotfiles-ec9c6bce04349b9c766c0bbbf72eda6669a2645e.zip
Emacs: fix evil/evil-collection pre-init
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index d697133..5cb7052 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -14,6 +14,10 @@
 (use-package crux
   :custom ((crux-reopen-as-root-mode t)))
 
+;;; evil pre-init
+(custom-set-variables '(evil-want-integration t)
+		      '(evil-want-keybinding nil))
+
 ;;; Styles
 
 ;; I prefer an always-visible cursor.  Feels less distracting.
@@ -164,8 +168,6 @@ With two prefix arguments, write out the day and month name."
 
 (use-package evil
   :demand t
-  :init (custom-set-variables '(evil-want-integration t)
-                              '(evil-want-keybinding nil))
   :after (undo-tree)
   :custom ((evil-shift-width 2)
            (evil-mode-line-format '(before . mode-line-front-space)))