My personal Vim configuration.
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.
 
 
 

28 regels
673 B

  1. #!/bin/bash
  2. if [ -f "$HOME/.vimrc" ]; then
  3. mv $HOME/.vimrc $HOME/vimrc.old
  4. echo "There was already a .vimrc file, renamed to vimrc.old"
  5. fi
  6. if [ -d "$HOME/.vim" ]; then
  7. mv $HOME/.vim $HOME/vim.old
  8. echo "There was already a .vim folder, renamed to vim.old"
  9. fi
  10. if [ -f "$HOME/.gvimrc" ]; then
  11. mv $HOME/.gvimrc $HOME/gvimrc.old
  12. echo "There was already a .gvimrc file, renamed to gvimrc.old"
  13. fi
  14. cp -r vim $HOME/.vim
  15. cp vimrc $HOME/.vimrc
  16. cp gvimrc $HOME/.gvimrc
  17. echo "Installing Vundle"
  18. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  19. echo "Installing the plugins"
  20. vim +PluginInstall +qall
  21. echo
  22. echo "You're all set!"