vim – Registers


#Show registers content

:reg

#Yank or copy into register x

xy

#Paste contents of register x

xp

Note : Registers are being stored in ~/.viminfo, and will be loaded again on next restart of vim.

Register 0 contains always the value of the last yank command.

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “computingadvance@gmail.com”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply

Your email address will not be published. Required fields are marked *