We can use the
<C-R> to undo/redo in Vim and it provides a lot of features to manage the undo tree.
But sometimes, I make a change (let say on line 1) and I go do some other changes on another line.
When I come back to line 1, I may think that the previous value of this line was better.
My current workflow is:
- undo until I get the value back
- yank the line
- redo until the top of the undo tree
- replace the line.
I think this clearly can be improved, but do you know if there is a vim feature that provide an history of changes for each line?