.vimrc

changeset 483
1c0402e3db25
parent 470
4c2db769baac
child 487
0939aed44277
equal deleted inserted replaced
482:2c7cb331d2dc 483:1c0402e3db25
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
86 catch 86 catch
87 endtry 87 endtry
88 88
89 if s:installed_vundle == 1 89 if s:installed_vundle == 1
90 echo "Installing Plugins, please ignore key map error messages\n" 90 echo "Installing Plugins, please ignore key map error messages\n"
91 call PluginInstall 91 :PluginInstall
92 endif 92 endif
93 " }}} 93 " }}}
94 94
95 95
96 " Key maps {{{ 96 " Key maps {{{

mercurial