• CeeBee@lemmy.world
      link
      fedilink
      arrow-up
      33
      arrow-down
      4
      ·
      10 months ago

      It’s pretty simple:

      • Spam the escape key a bit
      • Then do shift + ;
      • when you’re in command mode, do the following
      • q! to forcibly quit
      • wq! to forcibly write your changes and quit

      Simple!-ish

      • p_consti@feddit.de
        link
        fedilink
        arrow-up
        13
        ·
        10 months ago

        Not to be pedantic, but it’s not shift+; it’s :, which may be somewhere else depending on your keyboard. For example on (german?) Quertz that’s shift+.

        • CeeBee@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          10 months ago

          This is true, but since I already used “:” to indicate an upcoming list, I wanted to be deliberately clear that I was referring to the key, and not suggesting another list.

    • lntl@lemmy.ml
      link
      fedilink
      arrow-up
      27
      ·
      10 months ago

      Why would you want to do that? Vim is efficiency. Without vim, you’re wasting your life.

      • TrustingZebra@lemmy.one
        link
        fedilink
        arrow-up
        12
        ·
        10 months ago

        I know exactly what you mean. Let me tell you why you’re here. You’re here because you know something. What you know you can’t explain, but you feel it. You’ve felt it your entire life, that there’s something wrong with the world. You don’t know what it is, but it’s there, like a splinter in your mind, driving you mad. It is this feeling that has brought you to me. Do you know what I’m talking about?

      • Chriszz@lemmy.world
        cake
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 months ago

        Exactly. What OP should do is never close vim. You don’t need to close it.

    • DreamButt@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      Ȳ̷̙͇̖̍̃͘͜o̷̬̙̙̔͐̄̈̀͗̉̽͂̕͠ù̶̦̞̮͚͖̳̲͉̹̝͝ ̸͈̪̘͎͕̿͊͜d̶̡̫͓͔̝̥͕̮̙̈́̄̽͠ô̸̪̙̞͌̀͂̂͘͝ñ̵̢̥̯̟̖̼̭̼̪͍̺͓̥͇̤͛̎́́́̕̕t̶̖̠̻̣͈͚̳̾̃̃̅͑̒͑͋͗̊̚̕͠͝