• moonpiedumplings@programming.dev
      link
      fedilink
      arrow-up
      15
      arrow-down
      2
      ·
      1 year 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
        10
        ·
        edit-2
        1 year 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
      1
      ·
      edit-2
      1 year 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…