Skip to content

Instantly share code, notes, and snippets.

@pavelkrolevets
Last active September 15, 2020 07:31
Show Gist options
  • Select an option

  • Save pavelkrolevets/c29fde8d875d9f170f088a0d1a91252e to your computer and use it in GitHub Desktop.

Select an option

Save pavelkrolevets/c29fde8d875d9f170f088a0d1a91252e to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Cleaning before install"
rm -rf ~/.vim/
rm ~/.vimrc
echo "Setting up Vundle"
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
echo "Copy .vimrc"
if [ ! -f ~/.vimrc ]; then
echo ".vimrc file not found!. Downloading..."
cd ~
wget https://gist.github.com/pavelkrolevets/9f3f6f9cdcbf6f9973a325a8b2824df8/raw/.vimrc
fi
echo "Install solorized"
if [ ! -d "~/.vim/colors/" ]; then
cd ~/.vim/
mkdir colors
cd ~/.vim/colors
wget https://raw.github.com/altercation/vim-colors-solarized/master/colors/solarized.vim
fi
echo "Install Vim plugins"
vim +PluginInstall +qall
#read -p "Press enter to continue"
#echo "Install YCM, assuming you have installed cmake, python, go, nodejs"
#brew install macvim mono
#cd ~/.vim/bundle/YouCompleteMe
#python3 install.py --all
@pavelkrolevets
Copy link
Copy Markdown
Author

pavelkrolevets commented Sep 15, 2020

Quick install:

wget https://gist.github.com/pavelkrolevets/c29fde8d875d9f170f088a0d1a91252e/raw/install_vim.sh -O - | sh

Includes:

  • vundle
  • vim-go
  • NerdTree
  • vim-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment