All my homies just CTRL+Z
88 0 ReplyRight, this meme just undo but with extra steps
22 0 ReplyThey probably mean redo, because that is what CTRL + SHIFT + Z and CTRL + Y commonly do.
22 0 Reply
u for undo. vi forever!
51 0 ReplyDon'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!
18 0 Reply
My text editor uses
u
andU
31 0 ReplyHelix?
5 0 Replyvim
7 0 ReplyYou know it.
2 0 Reply
"What did that code look like two minutes ago?"
- Cmd+A
- Cmd+C
- Cmd+ZZZZZZZZZZZZZZZZZZZZZZ
"Oh, ok."
- Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
18 0 Replywhy is this so true,,,,,
3 0 Replylol, just use time travel, Vim time travel:
:earlier 2m
and back:
:later 2m
2 0 Replywait that seems really usefull is that in standart vim ?
1 0 Reply
More like Ctrl-WHYYYY?
16 0 ReplyShouldn'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?
11 0 ReplyCtrl + Y shall paste, and nothing else!
11 0 ReplyCtrl-c copy. Ctrl-v past.
32 0 ReplyAnd Ctrl-y is redo.
14 0 Replyy to yank p to paste d to cut
7 0 Reply
Found the qwertz user
7 0 ReplyYank it
7 0 ReplyInto shape
2 0 Reply
:u
10 0 ReplyOr just: u
5 0 Reply
Germans on English kezboards know the struggle
7 0 ReplyI see what you did there.
1 0 Reply
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 lol6 0 Replyvim using
u
and ``6 0 ReplySimilar 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.
4 0 ReplyWindows Explorer..
2 0 ReplyC-/ for undo. C-/ for redo. All you need.
1 0 Reply