summaryrefslogtreecommitdiff
path: root/readme.org
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2018-01-11 19:26:03 -0800
committerJames Nguyen <james@jojojames.com>2018-01-11 19:26:03 -0800
commit82969b9f91331b5f395ddaace8b7e10bcdb4f751 (patch)
tree008030e08a8c84bdd21d6b901646e335056a2acd /readme.org
parent8768cf69cc878ec93d837ad0b9fe465c996718f7 (diff)
Reorder readme
Diffstat (limited to 'readme.org')
-rw-r--r--readme.org27
1 files changed, 11 insertions, 16 deletions
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~.