Copy / Paste between Vim and OS X clipboard
To be able to copy/paste between Vim and the clipboard on OS X, it's actually really easy.
- Install the latest Vim (you need at least 7.4) e.g.
brew install vim - Add the line
set clipboard=unnamedto your .vimrc file.
Now you can use the normal Vim commands for yanking and pasting to and from the system clipboard. Yay!
Written by Keith Broughton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim osx copy paste
Authors
Related Tags
#vim osx copy paste
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#