‹ BackHN Continuity

Thread

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

384 points · 346 comments · jandeboevrie

  1. fatbird · · focus · HN ↗
    Unsaid in the blog post is that disabling persistant undo is one of the most common config changes for vim users who bother to set things up the way they like. Persistent undo is what causes your filesystem to be littered with tilde files, which have the same name but prefixed with a tilde. Every file you touch with vim gets a tilde version. Your ls output becomes polluted with noise.
    1. tommyage · · focus · HN ↗
      `:h 'undodir'`. Also undofile is off by default.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.