875
top 50 comments
sorted by: hot top controversial new old
[-] Feyter@programming.dev 220 points 1 week ago

No one can exit vim. It's simply not possible.

There are even legends that the devil himself was onced tricked into opening vim and is stuck there since.

[-] affenlehrer@feddit.org 110 points 1 week ago

That explains the many vim enthusiasts that don't want any other editor. They simply can't exit the vim instance they once accidentally opened...

[-] wewbull@feddit.uk 43 points 1 week ago

The Eagles called it Hotel California.

[-] hakunawazo@lemmy.world 26 points 1 week ago

"We are all just prisoners here of our own device"
So true, so true.

[-] BlackVenom@lemmy.world 12 points 1 week ago

Stockholm Editor

load more comments (1 replies)
[-] Bakkoda@lemmy.world 27 points 1 week ago
[-] Hossenfeffer@feddit.uk 21 points 1 week ago

"... and that's why I need you to take the power plant offline."

load more comments (1 replies)
load more comments (1 replies)
[-] Cevilia 132 points 1 week ago

Every computer has a built-in "exit vim" button, conveniently located on the chassis, usually next to the power cord. Flick it to 0, then back to 1, and you'll find vim has been successfully exited. :)

[-] four@lemmy.zip 57 points 1 week ago

What if my PC boots straight into Vim? It's not like I need anything else, can do everything in Vim

[-] enumerator4829@sh.itjust.works 25 points 1 week ago

Jokes aside, vim as PID 1 is just a bad idea.

Emacs on the other hand: https://github.com/emacs-os/el-init

[-] GenosseFlosse@feddit.org 11 points 1 week ago

That's a great idea from GitHub user el-sloppo and Claude.

load more comments (7 replies)
[-] Goodlucksil@lemmy.dbzer0.com 9 points 1 week ago

That settles it. Emacs is better than Vim

load more comments (1 replies)
load more comments (8 replies)
load more comments (2 replies)
[-] Malix@sopuli.xyz 106 points 1 week ago
[-] heuristic_lemur@lemmy.ml 52 points 1 week ago

Isn't it? I can't decide whether I believe this is an easter egg

[-] wheezy@lemmy.ml 47 points 1 week ago

If it was trained properly on Internet data it would just respond with "you can't"

[-] BarbecueCowboy@lemmy.dbzer0.com 17 points 1 week ago

If you need to exit vim, just open a new terminal and reboot the machine.

[-] herseycokguzelolacak@lemmy.ml 96 points 1 week ago

Ok this proves that AI has reaches human level intelligence.

[-] Jhex@lemmy.world 83 points 1 week ago

This is the closest I have seen Copilot doing something like a human Programmer would

[-] weimaraner_of_doom@piefed.social 75 points 1 week ago

Instructions: "Next, open the .config file in vim..."

Me:

[-] BluescreenOfDeath@lemmy.world 57 points 1 week ago

What a weird way to spell nano

[-] weimaraner_of_doom@piefed.social 27 points 1 week ago

Nano is the proper tool for this job.

[-] thethunderwolf@lemmy.dbzer0.com 10 points 1 week ago

neovim

but

use whatever you like

load more comments (2 replies)
load more comments (1 replies)
load more comments (1 replies)
[-] UnderpantsWeevil@lemmy.world 42 points 1 week ago
[-] reksas@sopuli.xyz 36 points 1 week ago* (last edited 1 week ago)

i cant understand all the vim hyping. its probably very neat and can do whatever, but what good is that if it takes awful amount of bother to learn everything by heart since interface has been designed to be as unfriendly as possible. it doesnt have to be fit for office worker, but at least some ease of use is needed.

[-] lemon@sh.itjust.works 47 points 1 week ago

The interface is modal editing, which, yes, takes some getting used to. The payoff is that you get a kind of programming language for text editing. Rather than memorizing ctrl+shift+alt-style keybinds, you decompose stuff into chainable actions.

Have you ever played a video game, be it with kbd+mouse or gamepad, and realize you’re doing a bunch of stuff without actually consciously thinking about what buttons you’re pressing? That’s what working in editors like Vim or (my fav) Helix feels like.

load more comments (6 replies)
[-] chonglibloodsport@lemmy.world 24 points 1 week ago

It’s a specialist tool. You can say the same thing about any specialist tool. Why should CNC machine tools exist if they’re so hard to use and take a lot of training and are dangerous in the hands of untrained people?

[-] Korhaka@sopuli.xyz 11 points 1 week ago

Reject CNC machines, return to rock!

load more comments (4 replies)
[-] Noctambulist@lemmy.world 24 points 1 week ago

Vim is actually highly ergonomic; you can do everything with a minimum of keystrokes without moving a hand away to a mouse or touchpad or oven the arrow keys. If that's worth the time investment to learn it, is a highly subjective question. But I’d say it's a lot easier than many people think.

load more comments (1 replies)
[-] lime@feddit.nu 18 points 1 week ago

fluency. languages are hard to learn but when you know them you communicate better. same as touch-typing, or mobas.

[-] grepehu@lemmy.dbzer0.com 12 points 1 week ago

It's not "designed to be as unfriendly as possible", it's designed to be exactly what you configure it to be, that's why I love it. Every keymap, every screen position, every worflow, the way it searches through lines and files names, everything was configured by me, so whenever I do something in my editor it always make absolute sense for me, because it was literally made for me.

If you get me to someone else's neovim config I would probably be absolutely lost because it's a very unique experience for each person, some people like to bloat it out with plugins others like to keep it bare minimum and so on.

One biggest lie abput vim is the productivity, it doesn't make you that much faster in comparison to any other editor if you take the time to learn the keymaps from them, the real strong point of neovim is having an editor that is absolutely tailor made for you in a way you cannot achieve in OOB editors.

[-] ripcord@lemmy.world 10 points 1 week ago

Yeah, but as a 30-year vi/vim user, using it nearly every day - it IS pretty user-unfriendly

load more comments (1 replies)
load more comments (3 replies)
load more comments (13 replies)
[-] kSPvhmTOlwvMd7Y7E@programming.dev 35 points 1 week ago
[-] panda_abyss@lemmy.ca 73 points 1 week 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!

load more comments (4 replies)
[-] eli@lemmy.world 9 points 1 week ago

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

load more comments (3 replies)
[-] electric_nan@lemmy.ml 33 points 1 week ago

Just like me fr

[-] mcv@lemmy.zip 32 points 1 week ago

I often see Copilot get stuck in a nonresponsive shell after it used cat > file. It's hilarious to watch the first time, but I'm a bit tired of it by now. Why doesn't it just edit files like it normally does?

[-] pinball_wizard@lemmy.zip 10 points 1 week ago

Why doesn't it just edit files like it normally does?

Haha. Yes.

But it does everything the most probable way, according to all the stack overflow it has swallowed.

Sometimes that way makes sense. Sometimes not.

load more comments (3 replies)
load more comments (1 replies)
[-] bizza@lemmy.zip 30 points 1 week ago

Blowing through all those tokens failing to exit a vim

[-] inari@piefed.zip 26 points 1 week ago
[-] ramble81@lemmy.zip 16 points 1 week ago

Ngl, there have been some times when i Ctrl-Z, then found and killed the PID

[-] myotheraccount@lemmy.world 12 points 1 week ago

No need to find it, just kill %1, to kill the first background job in a shell (check jobs otherwise to find the right %n)

[-] errer@lemmy.world 9 points 1 week ago

AI gonna train on this comment thread and learn to kill

load more comments (1 replies)
[-] Luminous5481@anarchist.nexus 14 points 1 week ago
load more comments (1 replies)
[-] daychilde@lemmy.world 14 points 1 week ago

I'm sorry, Dave. I'm afraid I can't exit vim.

[-] jeffep@lemmy.world 13 points 1 week ago

How to protect your computer from automated AI attacks 101: start vim

[-] Hisse@programming.dev 12 points 1 week ago

Is it stupid? Just do C-x-c!

load more comments (1 replies)
[-] ArseAssassin@sopuli.xyz 12 points 1 week ago

They really are just like us... 🥲

[-] notabot@piefed.social 12 points 1 week ago

Come on in, <esc>J us, soon you will learn to love the one true editor. Launch vi and be <esc>:w. Soon you will want to <esc>:%s/other editors/vi/g. <esc>dd your hesitation and do it.

load more comments (2 replies)
[-] BlushedPotatoPlayers@sopuli.xyz 10 points 1 week ago

If you use nvim you don't exit you open a float terminal. Why would you exit?

[-] lol_idk@piefed.social 9 points 1 week ago
load more comments
view more: next ›
this post was submitted on 15 Apr 2026
875 points (100.0% liked)

Programmer Humor

31092 readers
6 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