this post was submitted on 10 Aug 2023
301 points (85.9% liked)

Programmer Humor

19707 readers
178 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
301
It always gets me (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/programmer_humor
 

*redo, sorry

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 1 year ago (2 children)

"What did that code look like two minutes ago?"

  • Cmd+A
  • Cmd+C
  • Cmd+ZZZZZZZZZZZZZZZZZZZZZZ

"Oh, ok."

  • Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
[–] [email protected] 3 points 1 year ago

why is this so true,,,,,

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

lol, just use time travel, Vim time travel:
:earlier 2m
and back:
:later 2m

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

wait that seems really usefull is that in standart vim ?

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

Yes, plain vanilla Vim
Here's help entry (see section 4 if link doesn't redirect to it).
And it is even more useful with an undo-tree plugin.

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

oh thank you good sir ^^