Created
May 1, 2015 00:56
-
-
Save nowk/24b0e2cf0fa65b5cbf89 to your computer and use it in GitHub Desktop.
Vim install from source. Specific installation notes on lua.
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
cd ~/opt | |
hg clone https://vim.googlecode.com/hg/ vim | |
# Lua | |
sudo apt-add-repository ppa:archiveteam/wget-lua | |
sudo apt-get update | |
sudo apt-get install lua5.2 | |
cd ~/opt/vim | |
make distclean | |
./configure \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-luainterp \ | |
--enable-cscope \ | |
--prefix=/usr \ | |
--enable-hangulinput \ | |
--enable-fontset \ | |
--with-x \ | |
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ | |
--enable-largefile \ | |
--enable-fail-if-missing\ | |
make VIMRUNTIMEDIR=/usr/share/vim/vim74 | |
sudo checkinstall | |
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1 | |
sudo update-alternatives --set editor /usr/bin/vim | |
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/vim 1 | |
sudo update-alternatives --set vi /usr/bin/vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment