Hacker GitHub

← All repos

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

Mentions per year 21 mentions · busiest year 2022 (5)
20082026
  1. …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
  2. 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
  3. …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
  4. …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
  5. https://github.com/mbbill/undotree
    comment by greentea23 · 2023-12-12 · in Text Editor Data Structures: Rethinking Undo
  6. …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
  7. …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
  8. 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/
  9. …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
  10. Alternatively, use Vim undotree: https://github.com/mbbill/undotree
    comment by gandalfff · 2022-11-11 · in Resolving the great undo-redo quandary
  11. …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
  12. …track changes that are not saved to disk IIUC [0]: https://vimhelp.org/undo.txt.html#undo-tree [1]: https://github.com/mbbill/undotree
  13. …ago. in fact, vim keeps a whole undo tree available, and some plugins will let you visualize it. https://github.com/mbbill/undotree
  14. …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/
  15. …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
  16. …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
  17. …losing changes. It would be really hard for me to switch to an editor without persistent undo. [0] https://github.com/mbbill/undotree
  18. Clickable link for [1] [1]: https://github.com/mbbill/undotree
    comment by unkown-unknowns · 2017-10-19 · in Vim after 15 Years
  19. …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
  20. …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.
  21. ▲ 1
    Undotree: Display your VIM undo history in a graph
    story by DrinkWater · 2013-02-19 · 0 comments