-
-
Save tucq88/698c932b1d5f8fd2baa5 to your computer and use it in GitHub Desktop.
Compile Vim 7.4 on Centos and install my vimrc
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
#!/bin/bash | |
yum groupinstall 'Development tools' -y | |
yum install ncurses ncurses-devel wget git -y | |
cd /usr/local/src | |
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 | |
tar -xjf vim-7.4.tar.bz2 | |
cd vim74 | |
./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp | |
make && make install | |
vim --version | |
cd ~ && git clone https://github.com/holguinj/vimrc.git --recurse-submodules | |
mv vimrc .vim | |
ln -s vimrc ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment