Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Show HN: Text undo that doesn't lose your edit history
(
vladimirslepnev.me
)
11 points
by
cousin_it
36 days ago
|
hide
|
past
|
favorite
|
4 comments
leephillips
36 days ago
[–]
This is built in to vim.
Bjartr
36 days ago
|
parent
[–]
For those interested, here's the Vim docs for the undo tree
https://vimdoc.sourceforge.net/htmldoc/usr_32.html
cousin_it
36 days ago
|
root
|
parent
[–]
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
35 days ago
|
root
|
parent
[–]
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.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: