‹ BackHN Continuity

Thread

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

384 points · 346 comments · jandeboevrie

  1. RVuRnvbM2e · · focus · HN ↗
    Undo files and persistent undo are not meant to work that way. They are just persistent across process restarts. That's all.

    They live in ~/.cache which is defined as "user-specific non-essential (cached) data".

    Despite this user's impressive résumé, they simply misunderstood the feature.

    1. kazinator · · focus · HN ↗
      In what way is it not a process restart if I stop the process, install/upgrade NeoVim and start a new process?
      1. RVuRnvbM2e · · focus · HN ↗
        It's the part where you upgraded and apparently failed to read the release notes.

        Or in the OPs case, installed a totally different application and was surprised by an incompatibility.

        1. kazinator · · focus · HN ↗
          Nobody should have to read release notes to avoid data loss; there should never be a change such that someone who hasn't read the release notes (or missed a detail in reading them) to avoid such a problem.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.