vim use register 2019-05-25 23:40

If you want copy content and paste multiple times, "register" is good way to do this. After select the content you want to copy press "ay. This command save the content to the register named a. Use following command to paste this content to the place you want.


There are multiple registers in vim (from a-z). You can save the content to any of them.