From 9eb330b5029adba145415f9b734cab4324757c1e Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:44:42 +0300 Subject: [PATCH] Install undo-tree mode --- .config/emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 23f4200..cd3cbaa 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -32,6 +32,11 @@ (use-package better-defaults :straight (:host nil :repo "https://git.sr.ht/~technomancy/better-defaults")) +(use-package undo-tree + :init (global-undo-tree-mode) + :custom + (undo-tree-history-directory-alist '(("." . "~/.config/emacs/undo-tree")))) + (use-package magit :bind (("C-x g" . magit-status) ("C-x M-g" . magit-list-repositories))