Created
January 8, 2014 19:09
Revisions
-
dergachev created this gist
Jan 8, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Vim and clipboard support I generally prefer to use the terminal version of `vim`, rather than `macvim`. The major downside is no direct OSX clipboard integration. I tried running `brew install vim` but even that doesn't seem to compile with +clipboard support. I really wish `"+yy` and `+"p` would just work! Turns out that there's a great little plugin for that, [fakeclip](https://github.com/kana/vim-fakeclip)! There are different ways to install vim plugins into `~/.vim/`, but these days all the cool kids are using [vundle](https://github.com/gmarik/vundle). Here's how to install vundle, then use it to install fakeclip. ## Installing vundle ```bash git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle tee -a ~/.vimrc <<'EOT' " enable vundle set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " vundle managed vim plugins; install these using ::BundleInstall Bundle 'gmarik/vundle' Bundle 'kana/vim-fakeclip' EOT vim +BundleInstall +qall ```