Skip to content

Instantly share code, notes, and snippets.

@lucas1
Forked from juxtin/vim74centos
Created November 2, 2016 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucas1/c51a965bb2e54bf4f6ce645eaa65a362 to your computer and use it in GitHub Desktop.
Save lucas1/c51a965bb2e54bf4f6ce645eaa65a362 to your computer and use it in GitHub Desktop.
Compile Vim 7.4 on Centos and install my vimrc
#!/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