FIX use undo-fu since I don't have emacs 28

This commit is contained in:
Nathan Dwarshuis 2020-11-24 09:45:40 -05:00
parent eecafd253a
commit cae343742c
1 changed files with 5 additions and 2 deletions

View File

@ -3910,14 +3910,17 @@ I like being evil. All package and custom bindings go here.
:ID: 07d06b91-fa97-41f5-8d12-ac0d1e86c988 :ID: 07d06b91-fa97-41f5-8d12-ac0d1e86c988
:END: :END:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package undo-fu
:straight t)
(use-package evil (use-package evil
:straight t :straight t
:after undo-fu
:init :init
;; this is required to make evil collection work ;; this is required to make evil collection work
(setq evil-want-integration t (setq evil-want-integration t
evil-want-keybinding nil evil-want-keybinding nil
;; evil now integrates with undo-tree evil-undo-system 'undo-fu)
evil-undo-system 'undo-redo)
:config :config
(evil-mode 1)) (evil-mode 1))
#+END_SRC #+END_SRC