Skip to content

Commit

Permalink
evil: set evil-want-keybinding' to nil' before loading `evil'
Browse files Browse the repository at this point in the history
`evil-collection' assumes `evil-want-keybinding' is set to `nil'
before loading `evil' and `evil-collection'

See also
- https://github.com/emacs-evil/evil-collection#installation
- emacs-evil/evil-collection#60
- emacs-evil/evil#1087
  • Loading branch information
AirManH committed Jul 12, 2021
1 parent 2369e39 commit 6f7e308
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lisp/init-evil.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
(use-package evil
:init
(progn
(setq evil-undo-system 'undo-tree))
(setq evil-undo-system 'undo-tree)
;; `evil-collection' assumes `evil-want-keybinding' is set to
;; `nil' before loading `evil' and `evil-collection'
;; @see https://github.com/emacs-evil/evil-collection#installation
(setq evil-want-keybinding nil)
)
:config
(progn
(evil-mode 1))
Expand Down

0 comments on commit 6f7e308

Please sign in to comment.