1 comments

  • leephillips1 day ago
    This is built in to vim.
    • Bjartr1 day ago
      For those interested, here&#x27;s the Vim docs for the undo tree<p><a href="https:&#x2F;&#x2F;vimdoc.sourceforge.net&#x2F;htmldoc&#x2F;usr_32.html" rel="nofollow">https:&#x2F;&#x2F;vimdoc.sourceforge.net&#x2F;htmldoc&#x2F;usr_32.html</a>
      • cousin_it1 day 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.
        • leephillips1 day 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.