Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix ignores for ctrlp

  • Loading branch information...
commit c54fddab86aee0f0c66a1efb378729787f26fc77 1 parent c0f3662
@thenoseman authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 home/.vim/config/plugins/ctrlp.vim
View
7 home/.vim/config/plugins/ctrlp.vim
@@ -8,9 +8,10 @@ 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
@@ -18,5 +19,3 @@ let g:ctrlp_open_new_file = 0
" Load plugins
let g:ctrlp_extensions = ['tag', 'buffertag']
-" Ignore tmp files
-set wildignore+=*tmp*
Please sign in to comment.
Something went wrong with that request. Please try again.