Permalink
Browse files

fix ignores for ctrlp

  • Loading branch information...
1 parent c0f3662 commit c54fddab86aee0f0c66a1efb378729787f26fc77 @thenoseman committed Jul 5, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 home/.vim/config/plugins/ctrlp.vim
@@ -8,15 +8,14 @@ let g:ctrlp_working_path_mode = 0
" Add some ignores
let g:ctrlp_custom_ignore = {
- \ 'dir': '\.git$\|\.hg$\|\.svn$\|sass-cache$|tmp$',
- \ 'file': '\.exe$\|\.so$\|\.dll$'
+ \ 'dir': '\.git$\|\.hg$\|\.svn$\|\.sass-cache$|tmp$',
+ \ 'file': '\.exe$\|\.so$\|\.dll$|\.jpg$|\.png$|\.DS_Store$'
\ }
+set wildignore+=*tmp*,*.git,.sass_cache,.DS_Store,*.jpg,*.png,*.svn,.tags
" Open in current window
let g:ctrlp_open_new_file = 0
" Load plugins
let g:ctrlp_extensions = ['tag', 'buffertag']
-" Ignore tmp files
-set wildignore+=*tmp*

0 comments on commit c54fdda

Please sign in to comment.