From cfc78b6548f97733f156c8b02243f7346930d10d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 26 Nov 2020 10:17:29 +0100 Subject: Emacs: use undo-tree as undo system in evil --- user/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 785046a4..4b0cdcd2 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -281,7 +281,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :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)) -- cgit 1.4.1