4 ms·
I like to use undo-tree for making sense of my undo history. It's inspired by Vim, apparently, so it might work for you. https://elpa.gnu.org/packages/undo-tre
by duckerude 8y ago
I like to use undo-tree for making sense of my undo history. It's inspired by Vim, apparently, so it might work for you.
https://elpa.gnu.org/packages/undo-tree.html https://elpa.gnu.org/packages/undo-tree.html
- FPGAhacker 8y agoUndo-tree is pretty awesome. Saved me from anguish more than a few times. But alas, emacs is just too slow during startup for my workflow. I use it with clojure but only because of Cider.
- duckerude 8y agoIt's very snappy to open if you run it as a server. Defining an alias for 'emacsclient -a= -c' was enough for me. It will boot Emacs if it's not already running, but otherwise, you immediately get a new frame hooked up to the running instance. You can also run Emacs as a systemd user service, to spare even that first delay. You do have to get into the habit of exiting by closing the buffer or the frame instead of quitting Emacs.
- FPGAhacker 8y agoI’ve tried that a few times, but inevitably emacs+plugins get into a bad state and I have to restart. Plus I haven’t figured out how to keep my buffers organized. When I’m working on project x, I don’t want to see project y buffers. I’m sure there are many plugins for that too, but the state gets corrupted over time and stuff I use quits working. I much prefer separate instances for separate work, and nvim or vim start from scratch faster than an emacsclient connects.
- kwhitefoot 8y agoBut why close it? I never close Emacs.
- FPGAhacker 8y agoI guess I use it differently than you. It’s common for me to get emacs+plugins into an unstable state.
- pmoriarty 8y agoSadly, undo-tree is infamous for losing undo history. It's a wonderful package otherwise. Pity it hasn't been maintained in such a long time.