Switch to undo-fu instead of undo-tree

This commit is contained in:
Jeremy Dormitzer 2022-04-06 11:28:06 -04:00
parent 43107ed47b
commit 530952f046
2 changed files with 4 additions and 10 deletions

View File

@ -11,7 +11,7 @@
"j" #'evil-next-visual-line
"k" #'evil-previous-visual-line)
:custom
(evil-undo-system 'undo-tree)
(evil-undo-system 'undo-fu)
(evil-split-window-below t)
(evil-vsplit-window-right t))

View File

@ -1,13 +1,7 @@
;; -*- lexical-binding: t; -*-
;; Tree-shaped undos
(use-package undo-tree
:demand t
:config
(global-undo-tree-mode)
:bind ("C-c C-r" . undo-tree-visualize)
:custom
(undo-tree-history-directory-alist
`(("." . ,(expand-file-name (concat user-emacs-directory "undo-history"))))))
(use-package undo-fu)
(use-package undohist
:hook (after-init . undohist-initialize))
(provide 'init-undo)