Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wting
on Feb 19, 2021
|
parent
|
context
|
favorite
| on:
Why is it so hard to see code from 5 minutes ago?
For those that use vim, gundo.vim visualizes the "undo-tree" and allows you to preview / jump to any revision:
https://github.com/sjl/gundo.vim
srik
on Feb 19, 2021
|
next
[–]
There's a fork called mundo which has an inline diff mode that I'm a big fan of —
https://github.com/simnalamburt/vim-mundo
caymanjim
on Feb 19, 2021
|
prev
[–]
Came here to post this. The undo tree is actually built into Vim, but I didn't know about it until I discovered Gundo a decade or so ago. I rarely use it, but it's still installed and has saved me hours of work on a few occasions.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: