r/ProgrammerHumor • • Oct 08 '26

Meme iDontNeedYouAnymore

Post image
276 Upvotes

38 comments sorted by

80

u/justASlothyGiraffe Oct 08 '26

Sssssh, that's a secret command! Now everyone is going to know how to get out of Vim

26

u/ApothecaLabs Oct 08 '26

Oh no! I've made saved a huge mistake!

1

u/UncleKeyPax Oct 08 '26

yeah but what if you get thisnf8le has been edited already error

1

u/Ani-3 Oct 08 '26

Op I like you

26

u/Jeutnarg Oct 08 '26

Come and learn the deeper mysteries of x!, young Skywalker.

9

u/Antoak Oct 08 '26

the whole point of vim is minimizing keystrokes, why the heck do people insist on an extra character

why use many buttons when one button do trick

2

u/Dairedos Oct 08 '26

me no know

5

u/Daemontatox Oct 08 '26

The dark language!!!!

18

u/ericl666 Oct 08 '26

Shift-zz gang checking in 

5

u/thicctak Oct 08 '26

I discovered something new today

1

u/ericl666 Oct 08 '26

Yep - I've been using that for a real long time 😁

13

u/ewheck Oct 08 '26

why would you need to use :wq! in this situation? I just do :wq

17

u/thicctak Oct 08 '26

in case theres a buffer blocking you for whatever reason.

5

u/fuj1n Oct 08 '26

But won't that then lose your changes without notifying you?

8

u/thicctak Oct 08 '26

Yeah, that's the joke

2

u/ManyInterests Oct 09 '26

It retains the swap file, so you don't lose the changes, but they won't be committed to the file you were editing.

1

u/4ndr34p3rry Oct 08 '26

:wqa!

4

u/thicctak Oct 08 '26

That's the nuke command, might aswell Alt+F4 at that point.

3

u/ManyInterests Oct 09 '26 edited Oct 09 '26

E492: Not an editor command: ^[[1;3OS

3

u/lraviel381 Oct 08 '26

Because you need to assert your dominance

9

u/Delirious_85 Oct 09 '26

wait 'till you hear about `:x`

6

u/SubjectExternal8304 Oct 08 '26

Can someone explain to me the point of the ! in this context? I’ve only ever used the ! when I want to exit vim without saving my changes via q!
And I’ve never been unable to exit vim with just wq

10

u/glenpiercev Oct 08 '26

Hence the train in the meme

1

u/ResponsibleWin1765 Oct 09 '26

I guess there might be some configuration where saving or quitting doesn't work and you're preemptively forcing it? What I don't get is why people use :wq instead of :x. Is it not the same thing?

3

u/SubjectExternal8304 Oct 09 '26

For me it’s just habit of frequently using :w to save while I’m writing and then when I exit I just do the same thing and add the q. Never really thought about it tbh.
Only thing I could think of why someone would intentionally use :wq over :x would be if they hadn’t made any changes but still wanted to update the files time stamp? Not really sure why you’d want or need to do that but someone more knowledgeable could probably explain the reasoning lol

2

u/swyrl Oct 12 '26

I just use :wq because that's how I learned to do it initially and now it's ingrained habit.

1

u/TerryHarris408 Oct 10 '26

Isn't ZZ the same thing?

1

u/russianrug Oct 13 '26

You have to let vim know that you mean business.

0

u/JackNotOLantern Oct 08 '26

Imagine using editor without autosave

3

u/gbchaosmaster Oct 10 '26

It does have autosave. Every 200 characters while typing, or whenever you haven’t typed for 4 seconds. If the process is killed it’ll prompt you to restore the next time you open that file.

If you mean autosave like it overwrites the file that I’m working on without me telling it to, that’s stupid, I don’t want that. But there’s plugins for those that do.

2

u/russianrug Oct 13 '26

I don’t want auto save. I want absolute control.

1

u/JackNotOLantern Oct 13 '26

It's called "version control"

-1

u/alfredomova Oct 08 '26


nano users:

3

u/thicctak Oct 08 '26

nah, nano has some weird ass shortcuts, you can't assume anything, like, why the hell Ctrl+O saves the file? Who thought of this?

3

u/my_new_accoun1 Oct 08 '26

ctrl s saves for me

2

u/gbchaosmaster Oct 10 '26

Ctrl+O is “save as”. Why it’s not Ctrl+Shift+S like everything else is beyond me.