• N3Cr0@lemmy.world
    cake
    link
    fedilink
    arrow-up
    1
    arrow-down
    7
    ·
    5 months ago

    There is no point in typing the “m” in vim. Just edit your files with the vi shortcut.

    • Vash63@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      5 months ago

      vim (and especially neovim) have WAY more features than vi and different shortcuts. Running vim with the “vi” symlink emulates vi and disabled a lot.

      • N3Cr0@lemmy.world
        cake
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I can’t confirm this. when using vi, I have syntax highlighting, split windows and even search and replace. Even my Termux installation states it’s vi improved, when issuing vi -h.

          • N3Cr0@lemmy.world
            cake
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            5 months ago

            That’s what I’m trying to say - in the probably most upsetting way - All of my distros - Ubuntu, Nobara, Debian and so on: all of them have vi as a symlink - only, these days.

            • Skull giver@popplesburger.hilciferous.nl
              link
              fedilink
              arrow-up
              2
              ·
              5 months ago

              As someone who has had to dig into Docker files to debug weird stuff: you’ll be surprised how often vi is still packaged.

              It’s in some distros too. Vim is an optional addition to most simple distro installs so you may end up accidentally opening a fallback real vi and get incredibly confused why your shortcuts aren’t working.

              I tried to live the “(n)vim is just a verbose way to spell vi” way, but it’s bitten me enough that I’m willing ti type the extra m.