all repos — nixfiles @ 0594d4d8232be5b4b232affe8319b400f988870a

System and user configuration, managed by nix and home-manager

Emacs: appease evil-collection config check
Alan Pearce alan@alanpearce.eu
Mon, 17 Jun 2019 21:57:35 +0200
commit

0594d4d8232be5b4b232affe8319b400f988870a

parent

d694803ef3804025325ec44142ef6ad097eb8e8a

1 files changed, 5 insertions(+), 4 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.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 @@ (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