about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-10-09 22:15:02 -0500
committerCase Duckworth2020-10-09 22:15:02 -0500
commitc0f404657563222b7eee72512585130792ee4fdf (patch)
tree00c1803df5d60e43b0d3b27b65e7e7211be0f456
parentReplace auto-save with super-save (diff)
downloademacs-c0f404657563222b7eee72512585130792ee4fdf.tar.gz
emacs-c0f404657563222b7eee72512585130792ee4fdf.zip
Add undo-fu
-rw-r--r--init.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/init.el b/init.el index dbb2943..0f872ba 100644 --- a/init.el +++ b/init.el
@@ -347,6 +347,23 @@
347 :bind 347 :bind
348 ([remap other-window] . ctrlxo)) 348 ([remap other-window] . ctrlxo))
349 349
350;;;;; Undo-Fu
351(use-package undo-fu
352 :bind
353 ("C-z" . undo-fu-only-undo)
354 ("C-S-z" . undo-fu-only-redo))
355
356(use-package undo-fu-session
357 :after no-littering
358 :custom
359 (undo-fu-session-incompatible-files
360 '("/COMMIT_EDITMSG\\'"
361 "/git-rebase-todo\\'"))
362 (undo-fu-session-directory
363 (no-littering-expand-var-file-name "undos/"))
364 :hook
365 (after-init-hook . global-undo-fu-session-mode))
366
350;;;; Theming, looks, fonts 367;;;; Theming, looks, fonts
351;;;;; Fonts 368;;;;; Fonts
352;; https://github.com/kaushalmodi/.emacs.d/blob/master/init.el#L376 369;; https://github.com/kaushalmodi/.emacs.d/blob/master/init.el#L376