vim trick – restoring something you delete
January 3, 2008 Leave a comment
If you delete, like say, 3 lines fast.
dd
dd
dd
and want to restore the 1st thing deleted only (not the other 2) you can with the following command:
“3dd
pretty slick. I’m not sure I’ll ever be enough of a power user to remember it.