On caring for user data: NeoVim caused Vim undo files to be deleted(unsung.aresluna.org)
384 points by jandeboevrie 16 days ago | 342 comments
tl;dr: David Chisnall recounts trying NeoVim and discovering it silently deleted his Vim persistent undo files by detecting them, wiping them, and replacing them with an incompatible format. When he filed an issue, maintainers responded that the persistent undo format was unstable and users shouldn't rely on it—an attitude he found disqualifying, violating Jef Raskin's First Law that software must not harm a user's work. The post is a reminder that users remember tools that destroy their data, and that respecting on-disk user data is a baseline duty of care.
HN Discussion:
  • ↑Neovim knowingly deleted user data from another program, which is inexcusable behavior
  • ↑Personal experience confirms the author's concerns about silent data loss from Neovim upgrades
  • ↓Users misunderstood the feature; undo files are cache data not meant as reliable persistent storage
  • ↓Users should rely on proper version control or backups, not persistent undo files
  • ↓Duty of care must be explicitly promised; Vim itself has similar undo-clearing behaviors