aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-11-30 12:19:14 +0100
committerAdrian Kummerlaender2020-11-30 12:19:14 +0100
commit69d306c9ab1045ec548c66a7c27b7dc11e925c67 (patch)
treec5e9f3e3357d02aa21edec86c61ebe2648655fb5
parent7cc34027fa760d2e69228c43f7dfa7878f3f7728 (diff)
downloadnixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar.gz
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar.bz2
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar.lz
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar.xz
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.tar.zst
nixos_home-69d306c9ab1045ec548c66a7c27b7dc11e925c67.zip
Explicitly set undo-tree-mode for evil
-rw-r--r--gui/conf/init.el2
1 files changed, 2 insertions, 0 deletions
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))