310
It always gets me (lemmy.world)
submitted 9 months ago* (last edited 9 months ago) by ytrav to c/[email protected]

*redo, sorry

all 43 comments
sorted by: hot top controversial new old
[-] [email protected] 94 points 9 months ago
[-] RampageDon 25 points 9 months ago* (last edited 9 months ago)

Right, this meme is just undo but with extra steps

[-] qaz 22 points 9 months ago

They probably mean redo, because that is what CTRL + SHIFT + Z and CTRL + Y commonly do.

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

They tried to CTRL+SHIFT+Z to undo that last word, but that key combo was actually set to export the photo

[-] rtorlas 57 points 9 months ago
[-] [email protected] 17 points 9 months ago

Don't forget that Vim also keeps every tree of undo history. Wrote someone one way, wanted to try another way, and changed your mind? Switch to the other undo future! Change your mind again? Go back!

And there's persistent undo, where your undo history is written a file. Quit Vim, power off your machine for 5 years, power it back on, and you can still undo!

[-] marcos 42 points 9 months ago

Shouldn't it be used for redo?

I mean, yeah, of course it should be paste. But if you decide to break the established convention, isn't the next option redo, instead of undo?

[-] nicoweio 36 points 9 months ago

Germans on English kezboards know the struggle

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

I see what you did there.

[-] [email protected] 31 points 9 months ago

My text editor uses u and U

[-] lrabbt 5 points 9 months ago
[-] [email protected] 6 points 9 months ago
[-] [email protected] 5 points 9 months ago* (last edited 9 months ago)

Hmm pretty sure, it's not vim, as that would be u and C-r

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

idk my vim uses u U in visual.

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

You know it.

[-] 6xpipe_ 18 points 9 months ago

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

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

"Oh, ok."

  • Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
[-] ytrav 3 points 9 months ago

why is this so true,,,,,

[-] [email protected] 2 points 9 months ago* (last edited 9 months ago)

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

[-] nogrub 1 points 8 months ago

wait that seems really usefull is that in standart vim ?

[-] [email protected] 1 points 8 months ago* (last edited 8 months ago)

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 1 points 8 months ago

oh thank you good sir ^^

[-] [email protected] 15 points 9 months ago

More like Ctrl-WHYYYY?

[-] [email protected] 10 points 9 months ago
[-] [email protected] 4 points 9 months ago
[-] [email protected] 3 points 9 months ago
[-] [email protected] 6 points 9 months ago* (last edited 9 months ago)

Am I the only one who only knew ctrl+y? I've been used to it since forever and never used ctrl+shift+z even tough I am a keyboard shorcut fanboy...

edit: also the logic behind ctrl+shift+z totally makes sense, i'll try it everywhere now lol

[-] EmasXP 6 points 9 months ago

Ctrl + Y shall paste, and nothing else!

[-] [email protected] 32 points 9 months ago* (last edited 9 months ago)

Ctrl-c copy. Ctrl-v past. Ctrl-x cut

[-] Eonandahalf 33 points 9 months ago
[-] [email protected] 16 points 9 months ago* (last edited 9 months ago)

I prefer ctrl+shift+z for redo. The advantage is you can spam both undo and redo without moving your finger from Ctrl and Z buttons. Very common in professional apps.

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

Also in art apps, because it's not uncommon to want to undo and redo the same action over and over to see the difference something makes

...except gimp and krita. Seriously get your damn act together youse two

[-] [email protected] 11 points 9 months ago* (last edited 9 months ago)

And Ctrl-z undo.

That's all i know. If anyone know more please share.

[-] [email protected] 8 points 9 months ago
[-] [email protected] 9 points 9 months ago

Strange, It open the magnifier.

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

y to yank p to paste d to cut

[-] Skipcast 9 points 9 months ago

Found the qwertz user

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

vim using u and ``

[-] PBSkidz4Lyfe 4 points 9 months ago

Similar to how vscode uses Ctrl+shift+arrows for multi line editing but for some reason on my person computer that is hot keyed to flip the screen upside down.

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

Windows Explorer..

this post was submitted on 10 Aug 2023
310 points (86.2% liked)

Programmer Humor

17557 readers
374 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 11 months ago
MODERATORS