this post was submitted on 09 Jan 2025
403 points (97.0% liked)

Programmer Humor

20039 readers
1842 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 21 comments
sorted by: hot top controversial new old
[–] tdawg 54 points 2 weeks ago

The cat makes this so real

[–] [email protected] 36 points 2 weeks ago
[–] [email protected] 17 points 2 weeks ago* (last edited 2 weeks 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

[–] Vorticity 6 points 2 weeks 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.

[–] [email protected] 7 points 2 weeks 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 3 points 2 weeks 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.

[–] [email protected] 4 points 2 weeks ago (1 children)

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

[–] [email protected] 1 points 2 weeks ago

It’s great!

[–] [email protected] 3 points 2 weeks 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 2 points 2 weeks ago

You might like qutebrowser then!

[–] [email protected] 12 points 2 weeks ago (3 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.

[–] [email protected] 14 points 2 weeks ago

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

[–] [email protected] 7 points 2 weeks 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.

[–] [email protected] 1 points 2 weeks 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.

[–] [email protected] 1 points 2 weeks ago

Move from nano to micro!

[–] MeatPilot 7 points 2 weeks ago

Everything reminds me of Vim

[–] [email protected] 5 points 2 weeks ago

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

[–] EpicFailGuy 4 points 2 weeks ago

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

[–] [email protected] 2 points 2 weeks ago

Maybe some Machine Head?

[–] [email protected] 2 points 2 weeks ago

Missing Mozart's Dies Irae

[–] TheBananaKing 1 points 2 weeks ago