Is there any way to copy all lines from open file to clipboard in VI editor. I tried yG but it\'s not using clipboard to store those lines.
So
Do copy the whole file inside the vim or its tabs
y G
then move to a tab and paste by
p
and to cut the whole file use
d G