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 SO, but nothing works in 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 SO, but nothing works in OS X.