From 4c8a774222435098a077e8f10cca6518393952fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 26 Sep 2018 13:12:29 +0200 Subject: vim: use vundle --- install | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'install') diff --git a/install b/install index 1433897..2759903 100755 --- a/install +++ b/install @@ -39,19 +39,17 @@ fi YCM_PATH=~/.vim/bundle/YouCompleteMe if ask "Install VIM scripts"; then - # See if we have anything different from what we have in repository - YCM_REV="$(cd $YCM_PATH && git --work-tree=. diff --exit-code -s && echo y)" inst vimrc ~/.vimrc inst vim/ ~/.vim inst local/bin/vim-project-gen ~/.local/bin/vim-project-gen mkdir -p ~/.cache/vim # directory for *.swp files mkdir -p ~/.cache/vim-undo # directory for undo files - if [ "$YCM_REV" != "y" ]; then ( - cd $YCM_PATH - ./install.py --clang-completer --system-libclang - ); else - echo "YouCompleteMe is not required to be recompiled" - fi + # Vim plugin manager + [ -d ~/.vim/bundle/Vundle.vim ] || { + mkdir -p ~/.vim/bundle + git clone "https://github.com/VundleVim/Vundle.vim.git" ~/.vim/bundle/Vundle.vim + } + vim +PluginInstall +qall fi if ask "Install email synchronization"; then -- cgit v1.2.3