summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8054272..b82a128 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -14,10 +14,6 @@
 (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.
@@ -170,6 +166,11 @@ With two prefix arguments, write out the day and month name."
 (use-package evil
   :demand t
   :after (undo-tree)
+  :init (progn
+	  (defvar evil-want-integration)
+	  (defvar evil-want-keybinding)
+	  (setq evil-want-integration t
+		evil-want-keybinding nil))
   :custom ((evil-shift-width 2)
            (evil-mode-line-format '(before . mode-line-front-space)))
   :general