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