From 6cc211e4858ad19af488643892197e7c08df1713 Mon Sep 17 00:00:00 2001 From: vagrant Date: Sun, 11 Feb 2018 20:52:59 +0000 Subject: [PATCH] Remove .vim folder at start. Ignore node_modules in ctrl p --- init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index e2cb014..5fc10b9 100755 --- a/init.sh +++ b/init.sh @@ -1,3 +1,4 @@ +rm ~/.vim/ -rf mkdir -p ~/.vim/autoload ~/.vim/bundle curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim git clone https://github.com/ctrlpvim/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim @@ -49,7 +50,7 @@ map :CtrlPBufTag " I don't want to pull up these folders/files when calling CtrlP set wildignore+=*/vendor/** -set wildignore+=*/public/forum/** +set wildignore+=*/node_modules/** EOF export VISUAL=vim