Reorder readme

This commit is contained in:
James Nguyen 2018-01-11 19:26:03 -08:00
parent 8768cf69cc
commit 82969b9f91
1 changed files with 11 additions and 16 deletions

View File

@ -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~.