Show HN: Text undo that doesn't lose your edit history (vladimirslepnev.me) 11 points by cousin_it 1y ago ↗ HN
[–] leephillips 1y ago ↗ This is built in to vim. [–] Bjartr 1y ago ↗ For those interested, here's the Vim docs for the undo treehttps://vimdoc.sourceforge.net/htmldoc/usr_32.html [–] cousin_it 1y ago ↗ My approach was linear, not a tree. The innovation (a small one) is how to make linear actually feel kinda ok, but at the same time not lose work. [–] leephillips 1y ago ↗ If I understand correctly, the vim undo tree is a superset of your approach: in vim you can go forward and backward in time, seeing all versions of the file, and need not explicitly deal with the tree.
[–] Bjartr 1y ago ↗ For those interested, here's the Vim docs for the undo treehttps://vimdoc.sourceforge.net/htmldoc/usr_32.html [–] cousin_it 1y ago ↗ My approach was linear, not a tree. The innovation (a small one) is how to make linear actually feel kinda ok, but at the same time not lose work. [–] leephillips 1y ago ↗ If I understand correctly, the vim undo tree is a superset of your approach: in vim you can go forward and backward in time, seeing all versions of the file, and need not explicitly deal with the tree.
[–] cousin_it 1y ago ↗ My approach was linear, not a tree. The innovation (a small one) is how to make linear actually feel kinda ok, but at the same time not lose work. [–] leephillips 1y ago ↗ If I understand correctly, the vim undo tree is a superset of your approach: in vim you can go forward and backward in time, seeing all versions of the file, and need not explicitly deal with the tree.
[–] leephillips 1y ago ↗ If I understand correctly, the vim undo tree is a superset of your approach: in vim you can go forward and backward in time, seeing all versions of the file, and need not explicitly deal with the tree.
4 comments
[ 5.1 ms ] story [ 22.9 ms ] threadhttps://vimdoc.sourceforge.net/htmldoc/usr_32.html