My personal Vim configuration.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

20 righe
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