Remove .vim folder at start.
Ignore node_modules in ctrl p
This commit is contained in:
parent
af7312dc98
commit
6cc211e485
3
init.sh
3
init.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue