this post was submitted on 29 Sep 2023
1076 points (96.4% liked)

Programmer Humor

18255 readers
1783 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 1 year ago
MODERATORS
 
all 45 comments
sorted by: hot top controversial new old
[–] [email protected] 99 points 9 months ago (2 children)
[–] kamen 25 points 9 months ago
[–] [email protected] 1 points 9 months ago

LMFAO! Perfect.

[–] FlickOfTheBean 57 points 9 months ago

I typically don't know what I'm doing, so my favorite binding is :q!

[–] [email protected] 56 points 9 months ago (2 children)

I guess the obvious one is "holding spacebar for control key"

[–] [email protected] 52 points 9 months ago (1 children)

Look, my setup works for me. Can you please just add an option to reenable spacebar heating?

[–] [email protected] 30 points 9 months ago (1 children)

Reference: xkcd #1172 - Workflowxkcd: Workflow

Hover text: There are probably children out there holding down spacebar to stay warm in the winter! YOUR UPDATE MURDERS CHILDREN.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

This is me. I will find a way to make it work, it will be janky, and any update is liable to throw the entire thing into disarray.

[–] [email protected] 6 points 9 months ago

That's horrifying

[–] [email protected] 20 points 9 months ago (1 children)

Not sure if this is obscure or not: I have F12 bound to cycle through the low- to high-contrast versions of my color scheme so I can keep working when the sun hits my shitty laptop screen.

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

this is definitely obscure

[–] [email protected] 19 points 9 months ago (4 children)
[–] drmoose 28 points 9 months ago

The original sucks ngl

[–] [email protected] 13 points 9 months ago

Wow, I think we're still ahead.

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

how is a vim joke better then the original lmao

[–] RedStrider 2 points 9 months ago

The Jenkins is epic

[–] [email protected] 15 points 9 months ago (1 children)

I've mapped jk to escape because it's rare and it's separate fingers in home row, so it's faster than e.g. jj.

[–] [email protected] 5 points 9 months ago (1 children)

I mapped kj instead. Can't remember why, but I like it that way.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

Unfortunately both of those are used in common English or computer words. The only letter pairs not used are: bq, bx, cf, cj, dx, fq, fx, fz, hx, jb, jc, jf, jg, jq, jv, jx, jz, kq, kz, mx, px, qc, qd, qg, qh, qj, qk, ql, qm, qn, qp, qq, qr, qt, qv, qx, qy, qz, sx, tx, vb, vc, vf, vj, vm, vq, vw, vx, wq, wx, xj, zx.

Personally I have mappings based on <CR>, and press it twice to get a real newline.

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

I guess I just don't write "blackjack and hookers" often enough. Sigh, I'll never make a good Redditor.

Funny, I've never actually had "kj" interrupt me in vim. Maybe once. It's a funny way of realising I've never written certain words in vim!

[–] [email protected] 11 points 9 months ago

All hail nano

[–] [email protected] 9 points 9 months ago (1 children)

M-x dunnet

Runs Colossal Cave Adventure in emacs. "YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING."

[–] [email protected] 3 points 9 months ago

What?!

And to think I was going to take an early night...

[–] Vimlord 9 points 9 months ago* (last edited 9 months ago) (1 children)

I have \yeet bound to ggdG (backslash being my leader key)

Edit: Detail about leader. I'd add the proper binding but markdown's being weird.

[–] [email protected] 1 points 7 months ago (1 children)

so you use 5 keystrokes to get out of typing 4.

[–] Vimlord 2 points 7 months ago* (last edited 7 months ago)

Technically yes. However I figured it'd be a funny one to have in my vimrc.

Also capital G requires a shift press, so not sure how many keystrokes that counts as.

[–] gon 9 points 9 months ago
[–] idunnololz 9 points 9 months ago (2 children)

That's some shitty, lossy compression.

[–] bruhduh 5 points 9 months ago

Nah man, that is some crispy jpeg memes

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

I want to solve: What is .jpg?

[–] Bunnylux 7 points 9 months ago

Well, you see, I spilled coffee on my mechanical keyboard, permanently breaking the 2/@ key, so I mapped it to pause/break..

[–] [email protected] 7 points 9 months ago* (last edited 9 months ago) (1 children)

Ctrl+a, Ctrl+c, alt-tab, Ctrl+z, enter.

"This is mine now."

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

I have a Logitech G600 and have all those and more on the side buttons, lol.

[–] [email protected] 6 points 9 months ago (1 children)

I map caps lock to esc with setxkbmap. Much more fun ergonomically.

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago)

I use caps for switching languages instead of alt+shift or super+space.

Very efficient thing when you need to use your native language and some code in one text message or code block.

[–] shroomato 5 points 9 months ago

I like the one of Isaac

[–] kamen 5 points 9 months ago (1 children)

Not a Vim user, but no matter what software I'm using, I might think about its keybindings like the first week of getting familiar with it; at one point they become muscle memory and I stop thinking about them.

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

Yep. The primary advantage of keyboard control. It stops being something you engage your conscious brain for.

[–] ptrckstr 4 points 9 months ago

alt+z for saving, I guess?

[–] [email protected] 4 points 9 months ago

Me with my dwm key binds.

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

Ctrl+D = Alt+F4 in CMD.exe so that I can exit from that black box in the way the good lord intended.

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

This really had me laugh 😂😂

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

i use vim tips and still cant remember names, what gives?

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

meta-; for commenting marked lines (not in vim)