Use vundo instead of undo-tree
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
9f73e90317
commit
5044e50b03
2 changed files with 3 additions and 12 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
("g" "Ask GPT" gptel-menu)]
|
("g" "Ask GPT" gptel-menu)]
|
||||||
["Find"
|
["Find"
|
||||||
("s" "Swiper" swiper)
|
("s" "Swiper" swiper)
|
||||||
("u" "Undo tree" undo-tree-visualize)
|
("u" "Vundo" vundo)
|
||||||
("d" "Dash" dash-at-point)]])
|
("d" "Dash" dash-at-point)]])
|
||||||
|
|
||||||
(transient-define-prefix +custom-pkg-transient/window-menu ()
|
(transient-define-prefix +custom-pkg-transient/window-menu ()
|
||||||
|
|
|
||||||
|
|
@ -11,18 +11,9 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;; Use more advanced undo options
|
;;;;;;;;;;;;;;;;; Use more advanced undo options
|
||||||
(use-package undo-tree
|
(use-package vundo
|
||||||
:defer t
|
|
||||||
:straight t
|
:straight t
|
||||||
:config (setq-default
|
:defer t)
|
||||||
;; Save history to a specific folder
|
|
||||||
undo-tree-history-directory-alist '(("." . "~/.emacs.d/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)
|
(provide '+custom-pkg-undo-tree)
|
||||||
;;; undo-tree.el ends here
|
;;; undo-tree.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue