this post was submitted on 29 Sep 2023
1081 points (96.3% liked)

Programmer Humor

19602 readers
970 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 47 comments
sorted by: hot top controversial new old
[–] Speiser0@feddit.de 99 points 1 year ago (2 children)
[–] JokeDeity@lemm.ee 1 points 1 year ago

LMFAO! Perfect.

[–] FlickOfTheBean@lemmy.world 56 points 1 year ago

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

[–] towerful@programming.dev 56 points 1 year ago (2 children)

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

[–] andrew@lemmy.stuart.fun 52 points 1 year ago (1 children)

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

[–] Crul@lemm.ee 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.

[–] JokeDeity@lemm.ee 2 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.

[–] intelati@programming.dev 5 points 1 year ago

That's horrifying

[–] rustydrd@sh.itjust.works 21 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.

[–] gandalf_der_12te@feddit.de 7 points 1 year ago

this is definitely obscure

[–] kevincox@lemmy.ml 19 points 1 year ago (4 children)
[–] drmoose@lemmy.world 28 points 1 year ago

The original sucks ngl

[–] CanadaPlus@lemmy.sdf.org 14 points 1 year ago

Wow, I think we're still ahead.

[–] histic@lemmy.dbzer0.com 7 points 1 year ago

how is a vim joke better then the original lmao

[–] RedStrider@lemmy.world 2 points 1 year ago

The Jenkins is epic

[–] andrew@lemmy.stuart.fun 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.

[–] milicent_bystandr@lemm.ee 5 points 1 year ago (1 children)

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

[–] o11c@programming.dev 2 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.

[–] milicent_bystandr@lemm.ee 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!

[–] cupcakezealot@lemmy.blahaj.zone 11 points 1 year ago

All hail nano

[–] Vimlord@lemmy.world 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.

[–] AVincentInSpace@pawb.social 1 points 1 year ago (1 children)

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

[–] Vimlord@lemmy.world 2 points 1 year ago* (last edited 1 year 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.

[–] idunnololz@lemmy.world 9 points 1 year ago (2 children)

That's some shitty, lossy compression.

[–] bruhduh@lemmy.world 5 points 1 year ago

Nah man, that is some crispy jpeg memes

[–] Karyoplasma@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

I want to solve: What is .jpg?

[–] gon@lemmy.world 8 points 1 year ago
[–] Bunnylux@lemmy.world 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..

[–] Haus@kbin.social 8 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."

[–] milicent_bystandr@lemm.ee 3 points 1 year ago

What?!

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

[–] Kolanaki@yiffit.net 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."

[–] JokeDeity@lemm.ee 1 points 1 year ago

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

[–] somegeek@programming.dev 7 points 1 year ago (2 children)

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

[–] Nefrace@programming.dev 3 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.

[–] NateSwift@beehaw.org 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

[–] somegeek@programming.dev 2 points 1 year ago

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

[–] kamen@lemmy.world 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.

[–] sping@lemmy.sdf.org 1 points 1 year ago

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

[–] shroomato@lemmy.world 5 points 1 year ago

I like the one of Isaac

[–] ptrckstr@lemmy.world 4 points 1 year ago

alt+z for saving, I guess?

Me with my dwm key binds.

[–] JustAnotherUsername@feddit.uk 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.

[–] atomkarinca@lemmygrad.ml 2 points 1 year ago

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

[–] somegeek@programming.dev 2 points 1 year ago

This really had me laugh 😂😂

[–] mcmodknower@programming.dev 1 points 1 year ago

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