Last active
December 15, 2016 09:17
-
-
Save awilliams000/31c69f5f095ad0510f84c88b0e23fa69 to your computer and use it in GitHub Desktop.
This file contains 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
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
sudo rm -rf /usr/local/share/vim | |
sudo rm /usr/bin/vim | |
sudo mkdir /usr/include/lua5.1/include | |
sudo cp /usr/include/lua5.1/*.h /usr/include/lua5.1/include/ | |
cd /opt/ | |
sudo git clone https://github.com/vim/vim | |
cd vim | |
sudo git pull && sudo git fetch | |
cd vim/src | |
sudo make distclean # if vim was prev installed | |
rvm use system | |
sudo ./configure --with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-largefile \ | |
--disable-netbeans \ | |
--enable-pythoninterp \ | |
--with-python-config-dir=/usr/lib/python2.7/config \ | |
--enable-perlinterp \ | |
--enable-luainterp \ | |
--with-luajit \ | |
--enable-fail-if-missing \ | |
--with-lua-prefix=/usr/include/lua5.1 \ | |
--enable-cscope | |
sudo make && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment