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.
 
 
 

20 lines
484 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