Change to undo-fu

This commit is contained in:
Case Duckworth 2020-12-11 18:30:14 -06:00
parent e3b30283c0
commit 563d67eb35
1 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#+EXPORT_FILE_NAME: README.md
#+OPTIONS: toc:nil
#+BANKRUPTCY_COUNT: 3
#+Time-stamp: <2020-12-10 22:55:25 acdw>
#+Time-stamp: <2020-12-11 18:29:59 acdw>
Lets configure Emacs using Org mode, they said. Itll be fun, they said.
@ -580,9 +580,18 @@ Until the =marginalia-annotators= settles, Im disabling this section.
** Undo
#+begin_src emacs-lisp
(use-package undohist
(use-package undo-fu
:bind
("C-/" . undo-fu-only-undo)
("C-?" . undo-fu-only-redo))
(use-package undo-fu-session
:custom
(undo-fu-session-incompatible-files
'("/COMMIT_EDITMSG\\'"
"/git-rebase-todo\\'"))
:config
(undohist-initialize))
(global-undo-fu-session-mode +1))
#+end_src
* Editing