this post was submitted on 09 Jan 2025
388 points (96.6% liked)

Programmer Humor

19935 readers
690 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 20 comments
sorted by: hot top controversial new old
[–] tdawg@lemmy.world 53 points 2 days ago

The cat makes this so real

[–] EpicFailGuy@lemmy.world 4 points 1 day ago

I'm going to produce a song called "sudo yum install nano" so the playlist can be complete

[–] squirrel@discuss.tchncs.de 36 points 2 days ago

!oddlyspecificplaylists@sh.itjust.works

[–] circuitfarmer@lemmy.sdf.org 18 points 2 days ago* (last edited 2 days ago) (4 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

[–] AI_toothbrush@lemmy.zip 3 points 1 day ago

Lol yeah i try to close everything with it. Same with getting used to tiling. Insead of draging my mouse across the screen 20 times i just press a few key combos. But then i need to use a windows machine and everyone wonders why "the it guy" doesnt know how to use a computer.

[–] Smokeydope@lemmy.world 2 points 1 day ago

You might like qutebrowser then!

[–] Vorticity@lemmy.world 6 points 2 days 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 7 points 2 days 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 2 days 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.

[–] mle86@feddit.org 4 points 2 days ago (1 children)

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

[–] Twig@sopuli.xyz 2 points 1 day ago

Maybe some Machine Head?

[–] MentalEdge@sopuli.xyz 12 points 2 days 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 13 points 2 days 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 7 points 2 days 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 1 day 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.

[–] MeatPilot@lemmy.world 7 points 2 days ago

Everything reminds me of Vim

[–] adarza@lemmy.ca 5 points 2 days ago

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

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

Missing Mozart's Dies Irae

[–] TheBananaKing@lemmy.world 1 points 2 days ago