All my homies just CTRL+Z
93ReplyRight, this meme is just undo but with extra steps
24ReplyThey probably mean redo, because that is what CTRL + SHIFT + Z and CTRL + Y commonly do.
23Reply
u for undo. vi forever!
51ReplyDon'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!
17Reply
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?
39ReplyPermanently Deleted
7Reply
Germans on English kezboards know the struggle
34ReplyI see what you did there.
11Reply
My text editor uses
u
andU
31ReplyHelix?
5Replyvim
6ReplyYou know it.
2Reply
"What did that code look like two minutes ago?"
- Cmd+A
- Cmd+C
- Cmd+ZZZZZZZZZZZZZZZZZZZZZZ
"Oh, ok."
- Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
18Replywhy is this so true,,,,,
3Replylol, just use time travel, Vim time travel:
:earlier 2m
and back:
:later 2m
2Replywait that seems really usefull is that in standart vim ?
1Reply
More like Ctrl-WHYYYY?
15Reply:u
10ReplyOr just: u
5ReplyPermanently Deleted
4Reply
Am I the only one who only knew
ctrl+y
? I've been used to it since forever and never usedctrl+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 6Replyvim using
u
and `` 6ReplyCtrl + Y shall paste, and nothing else!
5ReplyCtrl-c copy. Ctrl-v past. Ctrl-x cut
33ReplyAnd Ctrl-y is redo.
28Replyy to yank p to paste d to cut
7Replyor yy and p
1Reply
Yank it
7ReplyInto shape
2Reply
Found the qwertz user
7Reply
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.
4ReplyWindows Explorer..
2ReplyC-/ for undo. C-/ for redo. All you need.
1Reply