• [object Object]@lemmy.ca
      link
      fedilink
      arrow-up
      57
      ·
      15 days ago

      If it’s a read only file it won’t work, but it might be in insert mode and can’t escape.

      It should have tried :q!

          • wewbull@feddit.uk
            link
            fedilink
            English
            arrow-up
            8
            ·
            edit-2
            14 days ago

            It’s started something on a terminal. It is assuming it’s vim, but it’s not operating like vim. I’m questioning it’s assumption. If it had fired up nano, for example, sending vim key sequences isn’t going to work. Seeing as it seems to be doing stuff with git too, it may not have started this editor explicitly. It will be using whatever git is configured to use.

            • Windex007@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              14 days ago

              Oh, ok yah. It might not be vim. It could literally be anything. I just thought I’d missed something

    • eli@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      15 days ago

      Could be in recording mode, which usually needs a couple ESC or a Q then you can :wq