Copying text in vim to the global clipboard On my linux computer I am able to copy text to the clipboard with the command "+y. How do I do the same on Mac?
macOS version of vim is compiled with -clipboard (you can check with vim --version). So there's no shared clipboard available. In this case you can download/recompile new vim or you can use system command pbcopy (man page). Here's how to use it as CTRL ⌃+C shortcut:

map &lt;C-c&gt; y:e ~/clipsongzboard&lt;CR&gt;P:w !pbcopy&lt;CR&gt;&lt;CR&gt;:bdelete!&lt;CR&gt;

Add this to your ~/.vimrc file.

Explanation of this command can be found here: vimtips @ quora