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

Programmer Humor

19197 readers
1168 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
 

*redo, sorry

you are viewing a single comment's thread
view the rest of the comments
[–] 6xpipe_@lemmy.world 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
[–] ytrav@lemmy.world 3 points 1 year ago

why is this so true,,,,,

[–] janAkali@lemmy.one 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

[–] nogrub@lemmy.world 1 points 1 year ago (1 children)

wait that seems really usefull is that in standart vim ?

[–] janAkali@lemmy.one 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.

[–] nogrub@lemmy.world 1 points 1 year ago

oh thank you good sir ^^