Created
February 27, 2019 18:58
-
-
Save dpastoor/817485b2609a56670fe12db84c56dcbd to your computer and use it in GitHub Desktop.
example vim dotfile from https://github.com/noopkat/dotfiles/blob/master/bin/vim-setup.sh
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
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://raw.githubusercontent.com/noopkat/dotfiles/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 <3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment