all repos — archive/dotfiles @ ec9c6bce04349b9c766c0bbbf72eda6669a2645e

Superseded by nixfiles

Emacs: fix evil/evil-collection pre-init
Alan Pearce alan@alanpearce.eu
Mon, 17 Jun 2019 11:58:00 +0200
commit

ec9c6bce04349b9c766c0bbbf72eda6669a2645e

parent

3941abeb18f6f582bad1bf2f51deeb21cf829fb5

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

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