emacs-undo-fu
undo-tree | emacs-undo-fu | |
---|---|---|
6 | 9 | |
- | - | |
- | - | |
- | - | |
- | - | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
undo-tree
-
Text Editor Data Structures: Rethinking Undo
vundo is a simpler implementation: it reuses Emacs's tree and just implements the visualisation part.
undo-tree is a reimplementation of Emacs's tree based undo, that supports a visualization.
* undo-tree LOC: 4700. https://gitlab.com/tsc25/undo-tree/-/blob/master/undo-tree.e...
* vundo LOC: 1350. https://github.com/casouri/vundo/blob/master/vundo.el
-
How to undo the undo
That said, the situations seems murky still: the version in ELPA is newer (0.7.5), but it's still outdated, the home page advertises 0.8.2 as the latest version. And it moved to a different repository location. And looking at its history, it seems to never have included the version 0.7.5: https://gitlab.com/tsc25/undo-tree/-/commit/5da2a7aee98393d26a93c499dc79fcf793f161e1
- Undo-Tree.el
-
Why is it so hard to see code from 5 minutes ago?
It’s easier to mentally map that the default behaviour undo/redo for Emacs (which is not unreasonable, just complex).
The source for undo-tree contains documentation which very effectively describes the way the library works with examples and comparisons with how Emacs does things by default: https://gitlab.com/tsc25/undo-tree/-/blob/master/undo-tree.e...
- undo-tree repository's new home (Gitlab)
-
undo-tree git repository is not available anymore?
Looks like the repo is moved to https://gitlab.com/tsc25/undo-tree
emacs-undo-fu
-
Vundo is great! (visual undo-tree for emacs-28)
Try undo-fu, it's a thin wrapper on emacs built-in undo/redo but doesn't have this limitation.
-
undo-hl: highlight to-be-deleted text before undo operation happens
Try undo-fu it was written to address exactly this problem.
-
Org Mode: Are you ever concerned that you might make some major editing mistake and lose some data?
Emacs has a good built-in undo function. And that one can be beefed up further with undo-tree --- which I used for some years --- or undo-fo --- which I use now ---.
-
The 6 Emacs Settings Every User Should Consider
I switched back from undo-tree to undo-fu, which re-uses the emacs undo-system instead of replacing it and makes it more intuitive to use while still preserving the full undo history. I sometimes miss the nice visualizations such as the tree and I didn't even know (or remember) the diff, but in 99% of cases I just need simple undo and most of the time I have git anyway to save intermediate states of my files.
-
Emacs noob here. How do I get redo functionality in evil mode? When I hit C-r, I see "customize 'evil-undo-system' for redo functionality", but I have no Idea what that means or how to do it. I assume there's some line I should add in my .emacs file?
There are packages that were written to add an explicit redo command, such as Undo Fu (https://gitlab.com/ideasman42/emacs-undo-fu) and Undo Tree (https://www.dr-qubit.org/undo-tree.html). Again, these packages are not needed in Emacs 28. That variable you found tells Evil which feature/package you want to use for an explicit redo command.
-
How to undo the undo
Had so many problems with this (once a month/week) and lost work... that I gave up and wrote undo-fu and undo-fu-session.
-
Learning elisp (emacs lisp) via pair programming
Did you try undo-fu?
What are some alternatives?
undotree - The undo history visualizer for VIM
vundo - Visualize the undo tree.
vim-mundo - :christmas_tree: Vim undo tree visualizer
melpa - Recipes and build machinery for the biggest Emacs package repo
emacs-undo-fu-session
evil-goggles - Display visual hint on evil edit operations
WBO - Online collaborative Whiteboard that is simple, free, easy to use and to deploy
xray - An experimental next-generation Electron-based text editor
GNU Emacs - Mirror of GNU Emacs
gundo.vim - A git mirror of gundo.vim
undo-hl - Highlight undo operations so you never get lost