view hooks/post-up @ 85:8a5464ec3c29

Add vim mappings from https://bitbucket.org/sjl/dotfiles
author zegervdv <zegervdv@me.com>
date Thu, 31 Jul 2014 21:38:35 +0200
parents db3720a03952
children 152b34da1f13
line wrap: on
line source

#!/bin/sh

if [ ! -e $HOME/.vim ]; then
  ln -s $HOME/.dotfiles/vim $HOME/.vim
fi

if [ ! -e $HOME/.vimwiki ]; then
  ln -s $HOME/.dotfiles/vimwiki $HOME/.vimwiki
fi

# Update plugins
cd $HOME/.dotfiles
git submodule init
git submodule update