• [object Object]@lemmy.ca
    link
    fedilink
    arrow-up
    63
    ·
    11 hours 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
          3
          ·
          edit-2
          2 hours 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
            ·
            53 minutes ago

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