From 238938e3630820d0edf088c47692459dc388fba6 Mon Sep 17 00:00:00 2001 From: James Nguyen Date: Tue, 11 Sep 2018 17:49:55 -0700 Subject: [PATCH] Change readme to account for evil-want-integration --- readme.org | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/readme.org b/readme.org index c4593236..1f3dd96f 100644 --- a/readme.org +++ b/readme.org @@ -48,12 +48,17 @@ more. The list of supported modes is configured by ~~evil-collection-mode-list~~. - ~evil-collection~ assumes ~evil-want-integration~ is set to nil before loading ~evil~ and ~evil-collection.~ + ~evil-collection~ assumes ~evil-want-keybinding~ is set to nil + and ~evil-want-integration~ is set to t before loading ~evil~ and ~evil-collection.~ + + See https://github.com/emacs-evil/evil-collection/issues/60 and https://github.com/emacs-evil/evil/pull/1087 + for more details. For example: #+begin_src emacs-lisp :tangle yes -(setq evil-want-integration nil) +(setq evil-want-integration t) ;; This is optional since it's already set to t by default. +(setq evil-want-keybinding nil) (require 'evil) (when (require 'evil-collection nil t) (evil-collection-init)) @@ -65,7 +70,8 @@ more. (use-package evil :ensure t :init - (setq evil-want-integration nil) + (setq evil-want-integration t) ;; This is optional since it's already set to t by default. + (setq evil-want-keybinding nil) :config (evil-mode 1))