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

Programmer Humor

19488 readers
753 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 46 comments
sorted by: hot top controversial new old
[–] [email protected] 100 points 1 year ago (2 children)
[–] [email protected] 1 points 1 year ago

LMFAO! Perfect.

[–] [email protected] 56 points 1 year ago (2 children)

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

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

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

[–] [email protected] 32 points 1 year 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 1 year ago* (last edited 1 year 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 1 year ago

That's horrifying

[–] [email protected] 55 points 1 year ago

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

[–] [email protected] 20 points 1 year 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 1 year ago

this is definitely obscure

[–] [email protected] 19 points 1 year ago (4 children)
[–] [email protected] 28 points 1 year ago

The original sucks ngl

[–] [email protected] 14 points 1 year ago

Wow, I think we're still ahead.

[–] [email protected] 7 points 1 year ago

how is a vim joke better then the original lmao

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

The Jenkins is epic

[–] [email protected] 15 points 1 year 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 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago* (last edited 1 year 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] 8 points 1 year 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 1 year ago

All hail nano

[–] [email protected] 9 points 1 year ago* (last edited 1 year 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 1 year ago (1 children)

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

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

[–] [email protected] 9 points 1 year 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 1 year ago

What?!

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

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

That's some shitty, lossy compression.

[–] [email protected] 5 points 1 year ago

Nah man, that is some crispy jpeg memes

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

I want to solve: What is .jpg?

[–] [email protected] 8 points 1 year 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] 8 points 1 year ago
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

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

"This is mine now."

[–] [email protected] 1 points 1 year ago

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

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

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

[–] [email protected] 4 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 1 points 1 year ago (1 children)

Where do you have that running? I set it in my i3 config and it never takes properly on my laptop. On my desktop I ended up just doing it in hardware because it was easier

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

It works great in i3config but in gnome I have problems with it.

[–] [email protected] 6 points 1 year 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 1 year ago

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

[–] [email protected] 5 points 1 year ago

I like the one of Isaac

[–] [email protected] 4 points 1 year ago

Me with my dwm key binds.

[–] [email protected] 4 points 1 year ago

alt+z for saving, I guess?

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

This really had me laugh 😂😂

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

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