Browse Source

replaced undo-tree with vundo

master
Marc 1 week ago
parent
commit
ab9fdba3a6
1 changed files with 17 additions and 5 deletions
  1. 22
      config.org

22
config.org

@ -515,14 +515,26 @@ Exclude some dirs from spamming recentf
* undo
https://github.com/casouri/vundo
replaced undo-tree, might be better for performance.
Basic usage:
<Left>/l, <rRight>/f, <Up>/p, <Down>/n for navigation
m, u to (un)mark a state, d to show diff between a marked state and the current selection.
#+BEGIN_SRC emacs-lisp
(use-package undo-tree
(use-package vundo
:ensure t
:diminish undo-tree-mode
:init
(global-undo-tree-mode 1)
:bind ("C-x u" . vundo)
:custom
(undo-tree-auto-save-history nil))
(vundo-glyph-alist vundo-unicode-symbols)
)
;; (use-package undo-tree
;; :ensure t
;; :diminish undo-tree-mode
;; :init
;; (global-undo-tree-mode 1)
;; :custom
;; (undo-tree-auto-save-history nil))
#+END_SRC
* COMMENT ace-window (now avy)

Loading…
Cancel
Save