this post was submitted on 09 Jan 2025
424 points (100.0% liked)

Programmer Humor

21988 readers
1984 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
[–] [email protected] 55 points 2 months ago

The cat makes this so real

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

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

[–] [email protected] 4 points 2 months 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 months ago (1 children)

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

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

It’s great!

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

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

You might like qutebrowser then!

[–] [email protected] 12 points 2 months 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 months 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] 8 points 2 months 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 months 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 months ago

Move from nano to micro!

[–] [email protected] 7 points 2 months ago

Everything reminds me of Vim

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

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

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

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

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

Missing Mozart's Dies Irae

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

Maybe some Machine Head?

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