Why “Undo” is being discussed
The most recent Hacker News stories and comments contributing to this topic's mentions.
One silly example: sometimes I'll open up source or config file to make a quick, temporary change in order to test something. But then instead of ctrl+z backgrounding it, I'll a…
by kelnos · Sep 27, 2026
That's the wrong place to store it. Data like that should be under $XDG_STATE_HOME (~/.local/state/ by default). I would consider deleting my persistent undo stat…
by kelnos · Sep 27, 2026
You're holding others to a standard that you yourself haven't adhered to. Please go read the release notes. No mention anywhere that old undo data will be deleted. https:/&…
by soraminazuki · Sep 27, 2026
POSIX vi is so barebones that nobody* wants that. Bare vi does not have windows, visual selection mode, multiple level undo, color schemes, etc. NVim wants to improve some defau…
by 0cf8612b2e1e · Sep 27, 2026
Unless something changed very recently neither vim nor neovim defaults to storing persistent undo files in ~/.cache. It's application state, not cached data. The undodir op…
by jorams · Sep 27, 2026
vim and neovim have different defaults for the undo file, if neovim overwrites a vim file then it can only be because the user changed the paths for both to be the same. in that…
by em-bee · Sep 27, 2026
Interest
Proportion of Hacker News items mentioning "undo" over time.
Mentions
Total number of Hacker News items mentioning "undo" over time.
Undo is an interaction technique which is implemented in many computer programs. It erases the last change done to the document, reverting it to an older state. In some more advanced programs, such as graphic processing, undo will negate the last command done to the file being edited. With the possibility of undo, users can explore and work without fear of making mistakes, because they can easily be undone. Read more on Wikipedia