Last active
August 29, 2015 14:12
-
-
Save aaudis/c264932b17e94a4ec419 to your computer and use it in GitHub Desktop.
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
echo "Removing previous installation" | |
rm -rf ~/.vim | |
rm ~/.vimrc | |
mkdir -p ~/.vim/autoload ~/.vim/bundle ~/.vim/colors | |
echo "Installing required libs" | |
sudo apt-get install -y lua5.2 liblua5.2-dev mercurial git curl ruby ruby-dev | |
sudo mkdir /usr/include/lua5.2/include | |
sudo cp /usr/include/lua5.2/*.* /usr/include/lua5.2/include | |
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.2.so /usr/local/lib/liblua.so | |
echo "ColorScheme pack" | |
cd ~/.vim | |
git clone https://github.com/flazz/vim-colorschemes.git bundle/colorschemes | |
echo "Fetching VIM" | |
hg clone https://code.google.com/p/vim/ | |
cd vim | |
./configure --with-features=huge --enable-pythoninterp --enable-luainterp --enable-rubyinterp --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ --enable-multibyte | |
#(OSX)# ./configure --with-features=huge --enable-pythoninterp --enable-luainterp --with-lua-prefix=/usr/local --enable-rubyinterp | |
echo "Building VIM" | |
make VIMRUNTIMEDIR=/usr/local/share/vim/vim74 | |
echo "Installing VIM" | |
sudo make install | |
echo "Installing Pathogen" | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
echo "ColorSchemes" | |
curl -LSso ~/.vim/colors/jellybeans.vim https://raw.githubusercontent.com/nanotech/jellybeans.vim/master/colors/jellybeans.vim | |
curl -LSso ~/.vim/colors/itg_flat.vim https://raw.githubusercontent.com/cdmedia/itg_flat_vim/master/colors/itg_flat.vim | |
curl -LSso ~/.vim/colors/Revolution.vim https://raw.githubusercontent.com/CruizeMissile/Revolution.vim/master/colors/Revolution.vim | |
curl -LSso ~/.vim/colors/blacklight.vim https://raw.githubusercontent.com/vim-scripts/blacklight/master/colors/blacklight.vim | |
echo "Fetching plugins" | |
cd ~/.vim/bundle | |
git clone https://github.com/fatih/vim-go.git | |
git clone https://github.com/Shougo/neocomplete.vim.git | |
git clone https://github.com/majutsushi/tagbar.git | |
git clone https://github.com/scrooloose/nerdtree.git | |
git clone https://github.com/Raimondi/delimitMate | |
git clone https://github.com/wincent/Command-T | |
echo "Fetching GoTags (cTags needs to be installed)" | |
go get -u github.com/jstemmer/gotags | |
echo "Fetching .vimrc file" | |
curl -LSso ~/.vimrc https://gist.githubusercontent.com/aaudis/189ad0a35d69f8ba5fde/raw/697c2ea2b0abfbae93bccd805cc4ab24f00534ac/.vimrc | |
echo "Installing GoBinaries" | |
vim -c ':GoInstallBinaries' -c ':q!' | |
echo "Command-T compile" | |
cd ~/.vim/bundle/Command-T/ruby/command-t | |
ruby extconf.rb | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment