mbbill/undotree
View on GitHub ↗ ★ 4,555 Vim Script
The undo history visualizer for VIM
21 mentions on Hacker News by 20 people: 1 story, 20 comments · first 2013-02-19 · latest 2026-06-11
20082026
-
…There's also a plugin to show a visualization of the tree, but the tree is implemented within vim. https://github.com/mbbill/undotree
comment by jolmg · 2026-06-11 · in Emacs appearances in pop culture -
I find it impossible to use without a plugin. I use https://github.com/mbbill/undotree and map it to `U` since I realized I never use `U` and it's easy to remember. https://github.com/sjl/gundo.vim/ is also popular but I like that the…
comment by sodapopcan · 2026-02-17 · in Undo in Vi and Its Successors -
…be an undo-tree vim package that looks like what you want here[0] so you could check that out? [0] https://github.com/mbbill/undotree
comment by mijoharas · 2024-10-31 · in Ask HN: Alternative to Emacs with undo-tree functionality? -
…I can even navigate branching paths in development. I don't know how people live without this. [0] https://github.com/mbbill/undotree
comment by mintplant · 2024-07-10 · in Zed on Linux Is Here -
https://github.com/mbbill/undotree
comment by greentea23 · 2023-12-12 · in Text Editor Data Structures: Rethinking Undo -
…commits"). There have been many times where I went back to copy something from the undotree. [1]: https://github.com/mbbill/undotree
comment by sureglymop · 2023-06-18 · in Gitless: A simple VCS built on top of Git -
…use autosave, I don't think it matters that much with vim because you can always use undotree[0] 0: https://github.com/mbbill/undotree
comment by RMPR · 2023-01-07 · in Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made -
Vim has plugins for that. ;) I use https://github.com/mbbill/undotree but if that's not to your taste there are many others. e.g. https://docs.stevelosh.com/gundo.vim/
comment by Lio · 2022-11-11 · in Resolving the great undo-redo quandary -
…which exposes Vim’s undo tree in a navigable UI. It’s saved my butt in the rare occasion I need it. https://github.com/mbbill/undotree
comment by stevebmark · 2022-11-11 · in Resolving the great undo-redo quandary -
Alternatively, use Vim undotree: https://github.com/mbbill/undotree
comment by gandalfff · 2022-11-11 · in Resolving the great undo-redo quandary -
…https://vimhelp.org/undo.txt.html#undo [2] https://vimhelp.org/options.txt.html#%27undofile%27 [3] https://github.com/mbbill/undotree
comment by kmarc · 2022-04-07 · in Use Git tactically -
…track changes that are not saved to disk IIUC [0]: https://vimhelp.org/undo.txt.html#undo-tree [1]: https://github.com/mbbill/undotree
comment by felixr · 2022-01-03 · in Dura is a background process that watches your Git repositories -
…ago. in fact, vim keeps a whole undo tree available, and some plugins will let you visualize it. https://github.com/mbbill/undotree
comment by mebassett · 2021-02-19 · in Why is it so hard to see code from 5 minutes ago? -
…time. Also for fun, consider having your scroll wheel traverse time instead of space [2]. [1] https://github.com/mbbill/undotree [2] https://xkcd.com/1806/
comment by m3at · 2021-02-19 · in Why is it so hard to see code from 5 minutes ago? -
…plugin [1] does this, and gives both the file at the time as well as a diff of what changed. [1]: https://github.com/mbbill/undotree
comment by justinnhli · 2021-02-19 · in Why is it so hard to see code from 5 minutes ago? -
…as it allows you to see your full edit history, branches and all, and jump back and forth. [1] https://github.com/mbbill/undotree
comment by nitemice · 2018-05-21 · in Ten Years of Vim -
…losing changes. It would be really hard for me to switch to an editor without persistent undo. [0] https://github.com/mbbill/undotree
comment by chongli · 2017-11-16 · in Vis – A vi-like editor based on Plan 9's structural regular expressions -
Clickable link for [1] [1]: https://github.com/mbbill/undotree
comment by unkown-unknowns · 2017-10-19 · in Vim after 15 Years -
…though I totally won't)" situation, but without the plugin, it's effectively inaccessible. [1] https://github.com/mbbill/undotree
comment by shabbyrobe · 2017-10-19 · in Vim after 15 Years -
…set undoreload=10000 (Don't forget to mkdir "$HOME/.vimundo".) Combine that with https://github.com/mbbill/undotree and you can easily walk the entire history of every file you edit.
comment by mintplant · 2017-03-12 · in How to recover lost Python source code if it's still resident in-memory