Remove .vim folder at start.

Ignore node_modules in ctrl p
This commit is contained in:
vagrant 2018-02-11 20:52:59 +00:00
parent af7312dc98
commit 6cc211e485
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
rm ~/.vim/ -rf
mkdir -p ~/.vim/autoload ~/.vim/bundle mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
git clone https://github.com/ctrlpvim/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim git clone https://github.com/ctrlpvim/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim
@ -49,7 +50,7 @@ map <C-r> :CtrlPBufTag<cr>
" I don't want to pull up these folders/files when calling CtrlP " I don't want to pull up these folders/files when calling CtrlP
set wildignore+=*/vendor/** set wildignore+=*/vendor/**
set wildignore+=*/public/forum/** set wildignore+=*/node_modules/**
EOF EOF
export VISUAL=vim export VISUAL=vim