about summary refs log tree commit diff
path: root/emacs-elisp/packages/undotree.el
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2025-02-27 17:06:42 +0000
committervenomade <venomade@venomade.com>2025-02-27 17:06:42 +0000
commit1cace80e4832a5d250ef4b7ccd687996563fb01b (patch)
treedb1ced91d1382ca3cabe37dbae00da51231d6a99 /emacs-elisp/packages/undotree.el
Add old dotfiles
Diffstat (limited to 'emacs-elisp/packages/undotree.el')
-rw-r--r--emacs-elisp/packages/undotree.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs-elisp/packages/undotree.el b/emacs-elisp/packages/undotree.el
new file mode 100644
index 0000000..02ec1df
--- /dev/null
+++ b/emacs-elisp/packages/undotree.el
@@ -0,0 +1,6 @@
+;; Undo-Tree replaces the normal undo with advanced Undo Control
+;;; https://gitlab.com/tsc25/undo-tree
+(use-package undo-tree)
+(global-undo-tree-mode 1)
+(setq undo-tree-history-directory-alist
+      `(("." . ,(concat user-emacs-directory "undo"))))