diff --git a/readme.org b/readme.org index 545912e..98876d5 100644 --- a/readme.org +++ b/readme.org @@ -41,21 +41,6 @@ Or clone / download this repository and modify your ~load-path~: - Register the bindings, either all at once: -: evil-collection assumes ~evil-integration~ is disabled by the time it loads. -: Make sure to set ~evil-want-integration~ to nil before loading evil and evil-collection. - -For example: - -#+begin_src emacs-lisp :tangle yes -(use-package evil - :ensure t - :init - (evil-want-integration nil)) -#+end_src - -: (when (require 'evil-collection nil t) -: (evil-collection-init)) - or mode-by-mode, for instance: : (with-eval-after-load 'calendar (require 'evil-collection-calendar) (evil-collection-calendar-setup)) @@ -72,6 +57,17 @@ because many users find it confusing. : :custom (evil-collection-setup-minibuffer t) : :init (evil-collection-init)) +~evil-collection~ also assumes ~evil-want-integration~ is set to nil before loading ~evil~ and ~evil-collection.~ + +For example: + +#+begin_src emacs-lisp :tangle yes +(setq evil-want-integration nil) +(require evil) +(when (require 'evil-collection nil t) + (evil-collection-init)) +#+end_src + Here's another full TLDR ~use-package~ example. #+begin_src emacs-lisp :tangle yes @@ -89,7 +85,6 @@ Here's another full TLDR ~use-package~ example. (evil-collection-init)) #+end_src - ** Configuration Modify ~evil-collection-mode-list~ to disable or add any modes that should be evilified by ~evil-collection~.