Last active
December 26, 2015 12:59
-
-
Save dschneider/7155332 to your computer and use it in GitHub Desktop.
VIM - User system clipboard on Mac OS X
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 characters
1.) Run in terminal: 'vim --version | grep clipboard' | |
2.) Make sure the output says +clipboard (-clipboard means it is not installed) | |
3.) Put the following in your vimrc: | |
" Enabling clipboard | |
set clipboard=unnamed | |
4.) Install vim through homebrew: 'brew install vim' | |
5.) Put an alias on vim in your bashrc/zshrc: alias vim="/usr/local/Cellar/vim/7.4.052/bin/vim" | |
6.) Check vim --version for clipboard value again | |
7.) Profit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment