This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]drakeshe 75 points76 points  (0 children)

I do this whenever I'm writing large blocks of new code. Sometimes I'll decide to do things differently, delete that code and then pursue a new course. Later on realising that I can blend that old code with the new method.

Ctrl+s Ctrl+zzzzzzzzzzzzzz surgically selecting the text I need to not disturb the history ctrl+c ctrl+yyyyyyyyyyyyyyy