VI Editor : Yank the entire file to clipboard (specific to OS X)
===

Is there any way to copy all lines from a file to clipboard in VI editor. I have tried *yG,+yG,"+yG and :%y+ from previous posts in sOF, but nothing works in OS X. 