home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 723cde58802ce8b3b44c8dd4f277e1766ed4ef90
parent 4aa951089b7f385f7255e4123136ab01950cb209
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue,  7 May 2024 17:08:59 +0200

tools/emacs: switch from undo-tree to vundo

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-editing.el | 24++++++++++++++++--------
Musers/vincent/dev/emacs.nix | 4+++-
2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el @@ -30,14 +30,22 @@ :config (save-place-mode 1)) - -(use-package undo-tree - :unless noninteractive - :hook (after-init . global-undo-tree-mode) - :config - (setq-default undo-tree-visualizer-timestamps t - undo-tree-enable-undo-in-region t - undo-tree-history-directory-alist `(("." . ,(no-littering-expand-var-file-name "backup/"))))) +;; (use-package undo-tree +;; :unless noninteractive +;; :hook (after-init . global-undo-tree-mode) +;; :config +;; (setq-default undo-tree-visualizer-timestamps t +;; undo-tree-enable-undo-in-region t +;; undo-tree-history-directory-alist `(("." . ,(no-littering-expand-var-file-name "backup/"))))) + +(use-package vundo ; 11oct2023 `undo-tree' -> `vundo', 25oct2023 prettify + :bind (("M-u" . undo) + ("M-U" . undo-redo) + ("C-x u" . vundo)) + ;; :custom + ;; (vundo-compact-display -1) + ;; (vundo-glyph-alist vundo-unicode-symbols) + ) (use-package whitespace :unless noninteractive diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -63,6 +63,7 @@ let editorconfig edit-indirect eldoc-box + emacs-everywhere embark embark-consult envrc @@ -145,11 +146,12 @@ let # treesit-grammars.with-all-grammars try typescript-mode - undo-tree + # undo-tree # use-package # it's now part of built-in packages visual-fill-column visual-regexp vterm + vundo web-mode wgrep with-editor