vim yank ke clipboard

"*  <- this will set the register for system (ubuntu and macos) 

While on Visual Mode select desired text then type "*y
For paste go to Visual Mode and type "*p


Wicked Wolf