497
top 50 comments
sorted by: hot top controversial new old
[-] swizzlestick@lemmy.zip 5 points 15 hours ago

An old Buffalo NAS box made me learn vi. Because that's all it had.

Yes, this comic speaks to me.

[-] kat_angstrom@lemmy.world 79 points 1 day ago

I don't know why there's so much hate for Vim. It's simple- just use it as your default text editor since you first started using computers, and keep using it forever, and problem solved!

[-] TheFogan@programming.dev 62 points 1 day ago

Setup for the overused joke - I've been using vim since I first started using a computer, I just can't quit.

load more comments (1 replies)
[-] dohpaz42@lemmy.world 6 points 1 day ago* (last edited 1 day ago)

:set nocompat

Why VIM decided to make itself run just like VI (by default) is beyond me. Isn’t the long name “VI Improved”?

[-] nous@programming.dev 14 points 1 day ago

Vims defaults are quite crap overall. It is why everyone needs 100s of lines of configs and many plugins to turn it into something decent. Well worth the setup but it could go a long way to making things nicer to use out the box.

[-] darklamer@lemmy.dbzer0.com 32 points 1 day ago

I switched from vi to vim in 1994 and found it immediately obvious how to quit — it was just like vi!

I guess I'll never understand these memes.

[-] Landless2029@lemmy.world 21 points 1 day ago

I've recently started administering windows headless. PowerShell over SSH.

Don't have this problem on windows server!

It doesn't even have a terminal text editor

I have to install nano or use powershell commands through hoops of fire just to edit a line in a file.

Or download the file via scp, edit and reupload.

Pure Insanity.

[-] vithigar@lemmy.ca 11 points 1 day ago
[-] Redex68@lemmy.world 3 points 8 hours ago

Ok that's really cool. It looks like it's really new? Like 3 months old?

[-] Kojichan@lemmy.world 4 points 1 day ago

Classic DOS editor for text files, batch coding, and QBasic coding. Good times.

load more comments (3 replies)
load more comments (1 replies)
[-] Endmaker@ani.social 31 points 1 day ago* (last edited 1 day ago)

Personally, I have seen so many memes about exiting vim that by the time I got to use it for the first time, exiting it was a no-brainer.

For any newbies out there, the command is

:wq
[-] BarbecueCowboy@lemmy.dbzer0.com 1 points 8 hours ago

I'm going to stick with my current process of accidentally opening vim, typing semi-random things that feel like they should work for a minute and then eventually looking up how to quit on my phone.

[-] T156@lemmy.world 4 points 14 hours ago

:x is also an alternative to save and quit.

Equally valid for the facial expression you'd make upon finding that out.

[-] dohpaz42@lemmy.world 16 points 1 day ago* (last edited 1 day ago)

😳

:w = write; or overwrite if the file already exists.

Please don’t give blanket destructive advice.

load more comments (2 replies)
[-] Malix@sopuli.xyz 26 points 1 day ago

Just to add: possible need to tap esc first, as your random flailing probably put you in insert mode, or something more exotic.

And only add w if you want to save the file. :q! If you don't

[-] victorz@lemmy.world 6 points 1 day ago

! If you edited the buffer at all. 👍

[-] Malix@sopuli.xyz 7 points 1 day ago

With random flailing, most likely

[-] TheFogan@programming.dev 13 points 1 day ago

also worth noting you open vim the first time, you get a huge ass splash screen telling you how to exit

load more comments (1 replies)
[-] elvith@feddit.org 5 points 1 day ago

And if you panicked before and fucked up the opened file while hammering on the keyboard:

:q!
load more comments (2 replies)
[-] Tillman@lemmy.world 1 points 15 hours ago

Vim is pretty amazing. Almost everywhere now too.

[-] supersquirrel@sopuli.xyz 17 points 1 day ago

Go beyond the lazy memes and see for yourself why it has such a loyal cult!

https://openvim.com/

[-] IrateAnteater@sh.itjust.works 12 points 1 day ago

The loyal cult is the result of Stockholm syndrome.

[-] supersquirrel@sopuli.xyz 16 points 1 day ago

Stockholm syndrome came from a bs flawed study so shrugs

[-] QuazarOmega@lemy.lol 14 points 1 day ago

That's exactly what a Stockholm syndrome victim would say!

[-] Shanmugha@lemmy.world 6 points 1 day ago

Of course. We just can't quit

load more comments (20 replies)
[-] andrewth09@lemmy.world 9 points 1 day ago

You have heard of :wq, but have you heard of ZZ

load more comments (3 replies)
[-] Nachtnebel@lemmy.dbzer0.com 3 points 23 hours ago
[-] pmk@lemmy.sdf.org 1 points 15 hours ago

Recently I decided to try ed for real and used it exclusively for a coding project. There is a certain joy in the simplicity, but ultimately I found myself printing lines and searching files more than I liked. And rewriting long lines instead of getting the substitutions wrong again.

load more comments
view more: next ›
this post was submitted on 09 Jun 2025
497 points (97.3% liked)

Programmer Humor

24045 readers
1256 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