• whoareu
      arrow-up
      40
      arrow-down
      -1
      ·
      4 days ago
      link
      fedilink

      There is literally written that :q to exit!

      • dustycups
        arrow-up
        21
        arrow-down
        0
        ·
        4 days ago
        link
        fedilink

        Wont work if you have unsaved edits or are in insert mode. Escape then :q! will.

        • Pup BiruEnglish
          arrow-up
          4
          arrow-down
          0
          ·
          4 days ago
          link
          fedilink

          and when typing :q with unsaved edits it literally also says “add ! to override”

          • dustycups
            arrow-up
            1
            arrow-down
            0
            ·
            3 days ago
            link
            fedilink

            True.

            I tend to use ZZ it ZQ instead. Its been a while.

        • milicent_bystandr
          arrow-up
          3
          arrow-down
          0
          ·
          4 days ago
          link
          fedilink

          Ooh, living life dangerously.

          I would not like to have that as a finger habit!

      • DecentM
        arrow-up
        2
        arrow-down
        0
        ·
        3 days ago
        link
        fedilink

        I typed :q and it just says :q on the bottom, all this advice and I’m still stuck in vim. My electricity bill has been high since 2022 because of this heavy editor with no x button

      • dQw4w9WgXcQ
        arrow-up
        2
        arrow-down
        0
        ·
        4 days ago
        link
        fedilink

        People who have never had the pleasure of experiencing vim might not realize that the colon is a part of the command and will start recording a macro instead.