Created
April 24, 2017 13:17
-
-
Save ssilva/5bd8640b86695e761603cc0ffca2c4e2 to your computer and use it in GitHub Desktop.
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 | |
# Simple, ad-hoc script to quickly bootstrap a fresh Vim install. | |
echo -n "This will overwrite your .vimrc and plugins. Do you wish to continue [y/N]? " | |
read answer | |
if ! echo "$answer" | grep -iq "^y"; then | |
exit | |
fi | |
echo Copying .vimrc... | |
cp -f vimrc ~/.vimrc | |
echo Installing Pathogen... | |
mkdir -p ~/.vim/autoload ~/.vim/bundle | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
echo Installing plugins... | |
cd ~/.vim/bundle | |
git clone https://github.com/tpope/vim-commentary.git | |
git clone https://github.com/tpope/vim-obsession.git | |
git clone https://github.com/tpope/vim-sensible.git | |
git clone https://github.com/itchyny/lightline.vim | |
git clone https://github.com/tpope/vim-markdown.git | |
git clone https://github.com/chriskempson/base16-vim.git | |
cd - | |
echo Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment