Commit 69b3f808 by Benjamin Gallois

Add installation script

parent c53aea4c
#!/usr/bin/env bash
BASE_DIR="$HOME/.vim"
PLUGIN_DIR="$BASE_DIR/bundle"
COLORS_DIR="$BASE_DIR/colors"
AUTOLOAD_DIR="$BASE_DIR/autoload"
PLUGINS=(
"kien/ctrlp.vim"
"vim-airline/vim-airline"
"vim-airline/vim-airline-themes"
"scrooloose/nerdtree"
"tpope/vim-pathogen"
"terryma/vim-multiple-cursors"
"airblade/vim-gitgutter"
"leafgarland/typescript-vim"
"bigfish/vim-js-context-coloring"
"neoclide/vim-jsx-improve"
"posva/vim-vue"
)
mkdir -p $PLUGIN_DIR
mkdir -p $COLORS_DIR
mkdir -p $AUTOLOAD_DIR
wget https://git.benjamin-gallois.fr/bgallois/vim/raw/master/.vimrc -O $HOME/.vimrc
wget https://raw.githubusercontent.com/dracula/vim/master/colors/dracula.vim -O $COLORS_DIR/dracula.vim
for PLUGIN in ${PLUGINS[@]}; do
DIRNAME="$(basename $PLUGIN)"
git clone https://github.com/$PLUGIN.git $PLUGIN_DIR/$DIRNAME
done
cp $PLUGIN_DIR/vim-pathogen/autoload/pathogen.vim $AUTOLOAD_DIR/pathogen.vim
echo "vim setup done"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment