commit ee4c99ad9e3deafe1cf86c7e1eefcb2f03346047
parent 233b8f5fd48513b8913464d9ecc5d33c300c33d4
Author: Daniel Moch <daniel@danielmoch.com>
Date: Sun, 12 Aug 2018 06:52:20 -0400
Vim init improvements
1. Pare down plugins ... remove VimCompletesMe and vim-togglecursor
2. Don't remove bundle folder when forcing init
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/.local/bin/my-init b/.local/bin/my-init
@@ -73,7 +73,6 @@ then
echo "Re-initialization requested"
rm -f "$HOME/._.djmoch"
rm -rf "$HOME/.terminfo"
- rm -rf "$vim_bundle_path"
rm "$HOME/.less"
rm "$HOME/.gnupg/gpg-agent.conf"
fi
@@ -150,7 +149,7 @@ EOF
fi
# Vim plugins
-if __has "vim" "git" && [ ! -d "$vim_bundle_path" ]
+if __has "vim" "git"
then
echo " Downloading Vim plugins"
# Plugins that should always be enabled
@@ -168,9 +167,7 @@ then
__clone Raimondi/delimitMate
__clone junegunn/goyo.vim
__clone junegunn/limelight.vim
- __clone ajh17/VimCompletesMe
__clone beloglazov/vim-online-thesaurus
- __clone jszakmeister/vim-togglecursor
__clone chr4/sslsecure.vim
__optclone_pathogen
cd - > /dev/null 2>&1