Emacs: use undo-tree as undo system in evil
Alan Pearce alan@alanpearce.eu
Thu, 26 Nov 2020 10:17:29 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -281,7 +281,8 @@ :demand t :commands (evil-mode evil-delete-buffer evil-ex-define-cmd) :config (progn (setq-default evil-shift-width 2) - (setq evil-mode-line-format nil) + (setq evil-mode-line-format nil + evil-undo-system 'undo-tree) (add-to-list 'evil-emacs-state-modes 'eshell-mode) (add-to-list 'evil-emacs-state-modes 'ledger-reconcile-mode) (evil-mode +1))