• PenguinCoder
      link
      fedilink
      11 month ago

      Just a habit, because you can run any command and get the stdout into vim in that method. Like for getting your shebang or an ls listing.

      • Korthrun
        link
        fedilink
        3
        edit-2
        1 month ago

        Then for the casual reader: don’t pick this habit up. There’s no reason to fork/exec a shell, invoke cat for the purpose of printing to stdout, then move the data into your buffer. You can just do :r somefile.txt.