21 endif |
21 endif |
22 |
22 |
23 echo "Installing Vundle and Plugins...\n" |
23 echo "Installing Vundle and Plugins...\n" |
24 if s:on_windows == 0 |
24 if s:on_windows == 0 |
25 silent !mkdir -p ~/.vim/bundle |
25 silent !mkdir -p ~/.vim/bundle |
26 silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle |
26 silent !git clone --depth 1 https://github.com/gmarik/vundle ~/.vim/bundle/vundle |
27 else |
27 else |
28 silent execute '!mkdir "'. $HOME .'\vimfiles\bundle"' |
28 silent execute '!mkdir "'. $HOME .'\vimfiles\bundle"' |
29 silent execute '!git clone https://github.com/gmarik/vundle "'. $HOME .'\vimfiles\bundle\vundle"' |
29 silent execute '!git clone --depth 1 https://github.com/gmarik/vundle "'. $HOME .'\vimfiles\bundle\vundle"' |
30 endif |
30 endif |
31 let s:installed_vundle=1 |
31 let s:installed_vundle=1 |
32 endif |
32 endif |
33 |
33 |
34 if s:on_windows == 0 |
34 if s:on_windows == 0 |