‹ BackHN Continuity

Thread

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

384 points · 346 comments · jandeboevrie

  1. sdcfgy · · focus · HN ↗
    I've used vim since the first time it appeared in Debian repos. I have been told a thousand times that NeoVim is better, more modern and solves many (conveniently never cited) issues. I just ignored it and carried on. Feeling terribly vindicated at this point as it's a feature I use regularly and have no idea that it would be an issue in NeoVim.
    1. kps · · focus · HN ↗
      I've used vi and nvi and (now) vim, and tried neovim, but :! is broken and “Conform to POSIX vi” is one of their “Non-goals”.
      1. 0cf8612b2e1e · · focus · HN ↗
        POSIX vi is so barebones that nobody* wants that.

        Bare vi does not have windows, visual selection mode, multiple level undo, color schemes, etc.

        NVim wants to improve some defaults, which cannot be done if it is beholden to all legacy code. That being said, I still think this specific undo example is insane.

        1. anthk · · focus · HN ↗
          Nvi2 it's almost POSIX vi+iconv, thus, Unicode support. Good enough for me.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.