I have an area selected in Vim. How can I copy it into the OS X clipboard?
(The OS X clipboard can be written to via a pipe to /usr/bin/pbcopy)
/usr/bin/pbcopy
In my case I just had to do :
:set mouse=v
please visit the original solution on superuser.com