Skip to content

Commit

Permalink
Add vim install
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Liverani committed Mar 20, 2017
1 parent acbaae0 commit 8043ce9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
#!/bin/sh

set -e

brew install vim --with-override-system-vi

path="$HOME/.simsalavim"

if [ -e $path/.git ]; then
cd $path && git pull
cd $path && git pull
else
git clone https://github.com/filippo-liverani/simsalavim.git $path
git clone https://github.com/filippo-liverani/simsalavim.git $path
fi

if [ ! -e $HOME/.vim/bundle/vundle ]; then
git clone https://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
git clone https://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
fi

ln -sf $path/vimrc ~/.vimrc
Expand Down

0 comments on commit 8043ce9

Please sign in to comment.