• Korthrun@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 day 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.