Skip to content

Commit

Permalink
Change readme to account for evil-want-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jojojames committed Sep 12, 2018
1 parent d814409 commit 238938e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))

Expand Down

0 comments on commit 238938e

Please sign in to comment.