• Aneb@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 hours ago

    Wdym, shift + colon + wq + enter, will write and quit but dont forget to open the document with sudo

    • Warl0k3@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      You’re correct! However I was not genuinely confused, I was riffing on the prior commenter’s joke by giving the satirical vim exit command sequence shift + colon + w + I/O (the power button). The humor derives from both the common shared struggle (indeed, almost a rite of passage) new users have with figuring out how to exit the vim editor from the terminal, and from how turning off your entire system is a very excessive solution to the problem of exiting a single program.