My personal Vim configuration.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

6 年前
6 年前
6 年前
6 年前
6 年前
6 年前
123456789101112131415161718192021222324252627
  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!"