diff options
author | Case Duckworth | 2020-12-11 18:30:14 -0600 |
---|---|---|
committer | Case Duckworth | 2020-12-11 18:30:14 -0600 |
commit | 563d67eb3521c00c75866c7e6fa4ed0b57443afb (patch) | |
tree | 3f4ee016188e4e686d7320cf5d645f2de83a6740 | |
parent | Configure org (diff) | |
download | emacs-563d67eb3521c00c75866c7e6fa4ed0b57443afb.tar.gz emacs-563d67eb3521c00c75866c7e6fa4ed0b57443afb.zip |
Change to undo-fu
-rw-r--r-- | config.org | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/config.org b/config.org index 6c08e4f..16a01ac 100644 --- a/config.org +++ b/config.org | |||
@@ -4,7 +4,7 @@ | |||
4 | #+EXPORT_FILE_NAME: README.md | 4 | #+EXPORT_FILE_NAME: README.md |
5 | #+OPTIONS: toc:nil | 5 | #+OPTIONS: toc:nil |
6 | #+BANKRUPTCY_COUNT: 3 | 6 | #+BANKRUPTCY_COUNT: 3 |
7 | #+Time-stamp: <2020-12-10 22:55:25 acdw> | 7 | #+Time-stamp: <2020-12-11 18:29:59 acdw> |
8 | 8 | ||
9 | Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. | 9 | Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. |
10 | 10 | ||
@@ -580,9 +580,18 @@ Until the =marginalia-annotators= settles, I’m disabling this section. | |||
580 | ** Undo | 580 | ** Undo |
581 | 581 | ||
582 | #+begin_src emacs-lisp | 582 | #+begin_src emacs-lisp |
583 | (use-package undohist | 583 | (use-package undo-fu |
584 | :bind | ||
585 | ("C-/" . undo-fu-only-undo) | ||
586 | ("C-?" . undo-fu-only-redo)) | ||
587 | |||
588 | (use-package undo-fu-session | ||
589 | :custom | ||
590 | (undo-fu-session-incompatible-files | ||
591 | '("/COMMIT_EDITMSG\\'" | ||
592 | "/git-rebase-todo\\'")) | ||
584 | :config | 593 | :config |
585 | (undohist-initialize)) | 594 | (global-undo-fu-session-mode +1)) |
586 | #+end_src | 595 | #+end_src |
587 | 596 | ||
588 | * Editing | 597 | * Editing |