Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When you select some text and 'put' over it, Vim yanks the selected text into the default register. The text that you just put is still put-able via "2p, if you'd like to put it again. Vim is essentially saving that selected text for you, just in case.

I hope that answers your question.



If that doesn't answer it, do a little editing then :reg You'll see what's going on from there.


Thanks for the replies.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: