my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
654 B

3 years ago
  1. function vundle-init () {
  2. if [ ! -d ~/.vim/bundle/Vundle.vim/ ]
  3. then
  4. mkdir -p ~/.vim/bundle/Vundle.vim/
  5. fi
  6. if [ ! -d ~/.vim/bundle/Vundle.vim/.git ] && [ ! -f ~/.vim/bundle/Vundle.vim/.git ]
  7. then
  8. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  9. echo "\n\tRead about vim configuration for vundle at https://github.com/VundleVim/Vundle.vim\n"
  10. fi
  11. }
  12. function vundle () {
  13. vundle-init
  14. vim -c "execute \"PluginInstall\" | qa"
  15. }
  16. function vundle-update () {
  17. vundle-init
  18. vim -c "execute \"PluginInstall!\" | qa"
  19. }
  20. function vundle-clean () {
  21. vundle-init
  22. vim -c "execute \"PluginClean!\" | qa"
  23. }