Blame view
plugins/vundle/vundle.plugin.zsh
652 Bytes
|
093a6c34b
|
1 |
function vundle-init () {
|
|
ed37aae5b
|
2 |
if [ ! -d ~/.vim/bundle/Vundle.vim/ ] |
|
093a6c34b
|
3 |
then |
|
ed37aae5b
|
4 |
mkdir -p ~/.vim/bundle/Vundle.vim/ |
|
093a6c34b
|
5 |
fi |
|
ed37aae5b
|
6 |
if [ ! -d ~/.vim/bundle/Vundle.vim/.git ] && [ ! -f ~/.vim/bundle/Vundle.vim/.git ] |
|
093a6c34b
|
7 |
then |
|
ed37aae5b
|
8 9 10 11 |
git clone git://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
echo "
\tRead about vim configuration for vundle at https://github.com/VundleVim/Vundle.vim
"
|
|
093a6c34b
|
12 13 14 15 16 |
fi
}
function vundle () {
vundle-init
|
|
dcebc9e8f
|
17 |
vim -c "execute \"PluginInstall\" | qa" |
|
093a6c34b
|
18 19 20 21 |
}
function vundle-update () {
vundle-init
|
|
dcebc9e8f
|
22 |
vim -c "execute \"PluginInstall!\" | qa" |
|
093a6c34b
|
23 24 25 26 |
}
function vundle-clean () {
vundle-init
|
|
dcebc9e8f
|
27 |
vim -c "execute \"PluginClean!\" | qa" |
|
093a6c34b
|
28 |
} |