2011-06-29 00:26:42 -07:00
|
|
|
function vundle-init () {
|
|
|
|
if [ ! -d ~/.vim/bundle/vundle/ ]
|
|
|
|
then
|
|
|
|
mkdir -p ~/.vim/bundle/vundle/
|
|
|
|
fi
|
|
|
|
|
2013-11-08 02:11:38 -07:00
|
|
|
if [ ! -d ~/.vim/bundle/vundle/.git ] && [ ! -f ~/.vim/bundle/vundle/.git ]
|
2011-06-29 00:26:42 -07:00
|
|
|
then
|
|
|
|
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
2011-06-30 01:45:24 -07:00
|
|
|
echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/vundle\n"
|
2011-06-29 00:26:42 -07:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
function vundle () {
|
|
|
|
vundle-init
|
2015-04-21 12:34:26 -07:00
|
|
|
vim -c "execute \"PluginInstall\" | q | q"
|
2011-06-29 00:26:42 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
function vundle-update () {
|
|
|
|
vundle-init
|
2015-04-21 12:34:26 -07:00
|
|
|
vim -c "execute \"PluginInstall!\" | q | q"
|
2011-06-29 00:26:42 -07:00
|
|
|
}
|
2013-04-11 13:56:22 -07:00
|
|
|
|
|
|
|
function vundle-clean () {
|
|
|
|
vundle-init
|
2015-04-21 12:34:26 -07:00
|
|
|
vim -c "execute \"PluginClean!\" | q | q"
|
2013-04-11 13:56:22 -07:00
|
|
|
}
|