Emacs is king of undo. Theres a number of ways but you can bsck up the undo chain a step or steps at a time. Ie if you’ve done 20 changes you can just keep going back with a keystroke.
There is also undo-tree package so you can visually see what state your buffer has been in over time and then just go pick the state you want.
Emacs is king of undo. Theres a number of ways but you can bsck up the undo chain a step or steps at a time. Ie if you’ve done 20 changes you can just keep going back with a keystroke.
There is also undo-tree package so you can visually see what state your buffer has been in over time and then just go pick the state you want.