‹ BackHN Continuity

Thread

On caring for user data: NeoVim caused Vim undo files to be deleted

384 points · 346 comments · jandeboevrie

  1. gchamonlive · · focus · HN ↗
    Am I missing something? Are people using persistent undo as backup?

    This seems however more like of a documentation and UX problem. Neovim should warn and ask before deleting old undo files, or at least back them up, but it's not neovim's fault if people don't use reliable backup and versioning systems. Relying on persistent undo for this is kind of a self inflicted wound.

    Use the proper tools for the job. Saying that neovim developers "had no concept of a duty of care to their users" is really disrespectful. Neovim's Lua API is overflowing with care, you just need to go look.

    1. whatevaa · · focus · HN ↗
      <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1172&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1172&#x2F;

      Seems so. As smart as keeping tabs open in browser instead of using bookmarks, but &quot;workflow&quot;.

      1. gchamonlive · · focus · HN ↗
        Btw zen browser&#x27;s folders are many streets ahead of Firefox&#x27;s traditional bookmarking.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.