From 3eff053be0b1db2be28f0c69af83863bd0c98d3c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Tue, 12 Jun 2012 11:33:53 -0700 Subject: [PATCH] Add ignores for ctrlp --- .vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vimrc b/.vimrc index e0dccd7..5fc2635 100644 --- a/.vimrc +++ b/.vimrc @@ -1125,6 +1125,15 @@ if has("eval") endif endif +" CtrlP +set wildignore+=*/tmp/*,*.so,*.swp,*.zip " Linux/MacOSX +set wildignore+=tmp\*,*.swp,*.zip,*.exe " Windows +let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$' +let g:ctrlp_custom_ignore = { + \ 'dir': '\.git$\|\.hg$\|\.svn$', + \ 'file': '\.exe$\|\.so$\|\.dll$', + \ } + " Vundle set rtp+=~/.vim/bundle/vundle call vundle#rc()