Urgent.News

What's breaking now, across thousands of outlets.

Tech

Installing NeoVim caused original Vim undo files to be deleted

Article URL: https://unsung.aresluna.org/they-had-no-concept-of-a-duty-of-care-to-their-users/ Comments URL: https://news.ycombinator.com/item?id=49867067 Points: 277 # Comments: 236

Marcin Wichary, a UX designer, typographer, and front-end engineer, recounts an incident where installing NeoVim caused the original Vim undo files to be deleted. Chisnall, a computer scientist, has used Vim since 2000 and has written multiple books and articles with the software. One of his favorite features of Vim is the persistent undo, which allows users to revert changes made to a file even after a reboot or major version upgrade.

When Marcin tried NeoVim, he found that undo didn't work. He then tried using Vim and noticed the same issue. Upon closer inspection, he discovered that Neovim had changed the format of the undo files, deleting the old ones and creating new ones that Vim couldn't read. He raised an issue about this, but was informed that the persistent undo format was unstable and data preservation was not guaranteed.

Marcin expresses his disappointment with NeoVim's handling of undo files, stating that the developers showed a lack of responsibility towards user data. He highlights Jef Raskin's First Law, which emphasizes that a program should not harm or allow the harm of a user's data. Marcin finds it unacceptable that NeoVim would delete undo files, even if they were in a persistent format, as it demonstrates a lack of care for user data.

Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at unsung.aresluna.org →

More in Tech

More from Sunday 27 September →