this post was submitted on 15 Apr 2026
881 points (98.4% liked)

Programmer Humor

31037 readers
1176 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] panda_abyss@lemmy.ca 75 points 4 days ago (1 children)

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 3 points 4 days ago (1 children)
[–] Windex007@lemmy.world 6 points 4 days ago (1 children)
[–] wewbull@feddit.uk 9 points 4 days ago* (last edited 4 days ago) (1 children)

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 1 points 4 days ago

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