Last active
September 15, 2020 07:31
-
-
Save pavelkrolevets/c29fde8d875d9f170f088a0d1a91252e 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
| #!/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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quick install:
wget https://gist.github.com/pavelkrolevets/c29fde8d875d9f170f088a0d1a91252e/raw/install_vim.sh -O - | shIncludes: