Created
May 12, 2013 11:18
-
-
Save dschneider/5563209 to your computer and use it in GitHub Desktop.
I prefer to use VIM with the system clipboard instead of the regular yank register. Most often this is not enabled on X based systems - here is how to compile it with X support.
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
# Check for xterm_clipboard support | |
vim --version | |
# Get the compile-dependencies of vim | |
sudo apt-get build-dep vim | |
# If you haven't got mercurial, get it | |
sudo apt-get install mercurial | |
# Get the source | |
hg clone https://vim.googlecode.com/hg/ vim_source | |
# Compile it | |
cd vim_source | |
./configure \ | |
--enable-perlinterp=dynamic \ | |
--enable-pythoninterp=dynamic \ | |
--enable-rubyinterp=dynamic \ | |
--enable-cscope \ | |
--enable-gui=auto \ | |
--enable-gtk2-check \ | |
--enable-gnome-check \ | |
--with-features=huge \ | |
--with-x \ | |
--with-compiledby="Your Name <[email protected]>" \ | |
--with-python-config-dir=/usr/lib/python2.7/config | |
make && sudo make install | |
# PROFIT! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment