this post was submitted on 09 Jan 2025
300 points (96.9% liked)

Programmer Humor

19911 readers
2647 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
top 15 comments
sorted by: hot top controversial new old
[–] tdawg@lemmy.world 38 points 15 hours ago

The cat makes this so real

[–] squirrel@discuss.tchncs.de 31 points 16 hours ago

!oddlyspecificplaylists@sh.itjust.works

[–] circuitfarmer@lemmy.sdf.org 7 points 13 hours ago* (last edited 13 hours ago) (2 children)

I'll tell you what though: one you get used to it, you really get used to it.

I typed :q to try and close a tab the other day.

Edit: a tab not in vim, of course

[–] mle86@feddit.org 2 points 7 hours ago

Never tried it myself, but there is this: Vimium addon for Firefox

[–] Vorticity@lemmy.world 3 points 9 hours ago (1 children)

At one point I had a plugin for MS Word that added vim key bindings because I kept leaving stray vim commands while editing other people's documents.

[–] circuitfarmer@lemmy.sdf.org 4 points 9 hours ago (1 children)

There are vim keybindings for Code. Discovered that yesterday.

Though, if you want vim bindings for Code, probably should just use vim...

[–] Vorticity@lemmy.world 3 points 9 hours ago

By Code do you mean VSCode? I use it all the time with VIM key bindings. It offers so much more than VIM with less finicky configuration. It's the first IDE I've ever actually liked. Before now it was VIM or nothing.

[–] MeatPilot@lemmy.world 7 points 14 hours ago

Everything reminds me of Vim

[–] MentalEdge@sopuli.xyz 11 points 15 hours ago (2 children)

I don't remember what program it was but I once went to configure something, and the command to "open settings" essentially just opened a text file in vim.

Being a nano scrub that took me a second to get out of.

[–] PoolloverNathan@programming.dev 10 points 14 hours ago

It probably opened it in ${VISUAL:-${EDITOR:-vim}}; usually setting one of those variables in e.g. bashrc will avoid future vim.

[–] palordrolap@fedia.io 6 points 15 hours ago (1 children)

Sometimes, programs that need to start up an editor will honour the $EDITOR environment variable, which should contain the name of, or full path to, a user's preferred editor.

It's not set by default though, and a lot of things will naturally default to vi or even ed. Something to be set in a .profile, .bashrc or similar.

$VISUAL is another variable that is used for similar purposes.

The resemblance to certain two letter commands is not entirely a coincidence.

[–] pmk@piefed.social 1 points 2 hours ago

I learned enough ed(1) to be able to do quick edits in smaller files, and it is actually quite nice to have that simplicity without all the bells and whistles of modern editors.

[–] adarza@lemmy.ca 5 points 15 hours ago

thanks for the ptsd flashback.. and right after insurance denied my meds as 'unnecessary'.

[–] Karyoplasma@discuss.tchncs.de 2 points 15 hours ago

Missing Mozart's Dies Irae

[–] TheBananaKing@lemmy.world 1 points 13 hours ago