• moonpiedumplings@programming.dev
      link
      fedilink
      arrow-up
      16
      arrow-down
      2
      ·
      8 months ago

      Was watching a twitch streamer learning linux, and chat convinced them to open vim for the first time. Not a single person gave the real answer of how to exit, all joke answers like “Power off,” and it was hilarious.

      • ArcaneSlime@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        8 months ago

        It’s really not that bad. [ESC] :wq Escape to exit input mode and enter command mode, then the command indicator : w for write and q for quit. To quit without writing force it with :q!. Done.

    • Aceticon@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 months ago

      Well, depending on how long one is trying to exit Vim and hence the level of frustration, exiting Vim might involve the use of a sledgehammer…