Copying from Vim to the OS X Mountain Lion clipboard

The latest version of OS X (Mountain Lion) broke compatibility with the vim and the OS clipboard. In most cases you can configure vim to use the operating system clipboard by setting clipboard=unnamed in your .vimrc. Unfortunately this setting does not work in OS X because the default version of vim was not compiled with clipboard support. You can check if your version of vim is compiled with clipboard support by typing vim –version and looking for clipboard. A prepended + means support is enabled. A prepended – means support is disabled. ...

January 22, 2013 · 1 min · Kevin Sookocheff