emacs/pkg/undo-tree.el
Maciej Szlosarczyk a82e24839c
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Move backups folder into .emacs.d
2024-07-21 10:08:48 +03:00

28 lines
694 B
EmacsLisp

;;; undo-tree.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; Use more advanced undo options.
;;; Code:
;;;;;;;;;;;;;;;;; Use more advanced undo options
(use-package undo-tree
:defer t
:straight t
:config (setq-default
;; Save history to a specific folder
undo-tree-history-directory-alist '(("." . "~/.emacs/backups/undo-tree"))
;; Show diff
undo-tree-visualizer-diff t
;; Show timestamps
undo-tree-visualizer-timestamps t))
(global-undo-tree-mode t)
(provide '+custom-pkg-undo-tree)
;;; undo-tree.el ends here