spacemacs

maleghast 2022-03-23T12:02:30.078229Z

Morning All 🙂 Anyone got a good / reliable way to configure .gitignore to ignore ~undo-tree~ files under Spacemacs..?

practicalli-johnny 2022-03-23T14:47:21.364259Z

Does **/*.*~undo-tree~ work? I assume this is related to the https://clojurians.slack.com/archives/C099W16KZ/p1647955414427979

practicalli-johnny 2022-03-23T14:48:21.341969Z

The undo history could be switched off in .spacemacs dotspacemacs/user-config using

(setq undo-tree-auto-save-history nil)

practicalli-johnny 2022-03-23T14:52:16.141249Z

Or set the directory for the undo-tree history files

(setq undo-tree-history-directory-alist '(("." . "~/var/emacs/undo")))

maleghast 2022-03-23T15:38:20.086479Z

Thanks @jr0cket I will turn it off I think!

Gunnar 2022-03-24T13:11:19.219079Z

Turn it off? 😬 Just saying: I recently lost about 2h of tinkering with code in VSCode because something screwed up and I didn't have (enough) undo ability to get it back. I'm used to in VIM to basically never lose anything. So... that episode plus that I am getting increasingly annoyed with some incorrect behavior in the VIM emulation on certain details, is why I'm now looking at Spacemacs again. (I used SM a bit a while back, not for clojure though). To each his own, but I will need forever persistent, unlimited undo 🙂

❤️ 1