On Wed, 8 Mar 2023 13:37:40 - (UTC)
Lifepillar wrote:
> Is there a built-in way or a plugin to extend / to the undo history?
>
> Use case: working on some code, I deleted a function a few hours ago,
> and I wanted to reinstate it.
There isn't a built-in way. And for your example usecase, I
Possibly the Mundo plugin (https://github.com/simnalamburt/vim-mundo)
will help with this use case. This plugin visualizes the undo tree,
speeds up traversing the tree and supports searching in the changes.
Markus Braun
--
Any errors in spelling, tact or fact are transmission errors
On Wed, 08.