From 69d306c9ab1045ec548c66a7c27b7dc11e925c67 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 30 Nov 2020 12:19:14 +0100 Subject: Explicitly set undo-tree-mode for evil --- gui/conf/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/conf') diff --git a/gui/conf/init.el b/gui/conf/init.el index dd63700..430fe14 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -96,6 +96,7 @@ (setq evil-search-module 'evil-search) :config (evil-mode 1) + (evil-set-undo-system 'undo-tree) (evil-set-initial-state 'calendar-mode 'emacs)) (use-package evil-collection @@ -119,6 +120,7 @@ :custom (undo-tree-visualizer-diff t) :config + (global-undo-tree-mode) (evil-leader/set-key "hu" 'undo-tree-undo) (evil-leader/set-key "hr" 'undo-tree-redo) (evil-leader/set-key "hv" 'undo-tree-visualize)) -- cgit v1.2.3