vim trick – restoring something you delete

If you delete, like say, 3 lines fast.


and want to restore the 1st thing deleted only (not the other 2) you can with the following command:


pretty slick.  I’m not sure I’ll ever be enough of a power user to remember it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: