• dustycups
        link
        fedilink
        arrow-up
        21
        ·
        2 months ago

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

        • Pup Biru
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

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

          • dustycups
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            True.

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

      • dQw4w9WgXcQ@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        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.

      • DecentM@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        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