2011-06-29 07:26:42 +00:00
|
|
|
function vundle-init () {
|
|
|
|
if [ ! -d ~/.vim/bundle/vundle/ ]
|
|
|
|
then
|
|
|
|
mkdir -p ~/.vim/bundle/vundle/
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d ~/.vim/bundle/vundle/.git/ ]
|
|
|
|
then
|
|
|
|
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
2011-06-30 08:45:24 +00:00
|
|
|
echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/vundle\n"
|
2011-06-29 07:26:42 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
function vundle () {
|
|
|
|
vundle-init
|
2011-09-02 13:06:32 +00:00
|
|
|
vim -c "execute \"BundleInstall\" | q | q"
|
2011-06-29 07:26:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function vundle-update () {
|
|
|
|
vundle-init
|
2011-09-02 13:06:32 +00:00
|
|
|
vim -c "execute \"BundleInstall!\" | q | q"
|
2011-06-29 07:26:42 +00:00
|
|
|
}
|
2013-04-11 20:56:22 +00:00
|
|
|
|
|
|
|
function vundle-clean () {
|
|
|
|
vundle-init
|
|
|
|
vim -c "execute \"BundleClean!\" | q | q"
|
|
|
|
}
|