Tip 687 Printable Monobook Previous Next created 2004 · complexity basic · author Khairulmizam Samsudin · version 5.7 Add this line to your ~/.vimrc: set clipboard=unnamed You can also use pbcopy/pbpaste command to achieve the same thing. You may need to use `brew install vim` to update to Vim 7.4 instead of the default 7.3. Example: :.!pbcopy "Copy current line clipboard :4,8!pbcopy "Copy line 4
![Mac OS X clipboard sharing](https://cdn-ak-scissors.b.st-hatena.com/image/square/909f6e6dbdc89919adbd639ee366a4d2114bc96e/height=288;version=1;width=512/https%3A%2F%2Fstatic.wikia.nocookie.net%2Fucp-internal-test-starter-commons%2Fimages%2Fa%2Faa%2FFandomFireLogo.png%2Frevision%2Flatest%3Fcb%3D20210713142711)