• dustycups
      link
      fedilink
      arrow-up
      21
      ·
      1 month 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
        ·
        1 month ago

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

        • dustycups
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          True.

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

    • DecentM@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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

    • dQw4w9WgXcQ@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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.