Permalink
Browse files

Properly sets the ignores for CtrlP.

  • Loading branch information...
1 parent e419550 commit 78052acc5733ad2ff0fa457effdcb87452a9050d @jvortmann committed Jan 11, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 conf/plugins
View
5 conf/plugins
@@ -60,4 +60,7 @@ let g:jasmine_use_own_colors = 0
" set ctrlp to show on top of the screen
let g:ctrlp_match_window_bottom = 0
let g:ctrlp_match_window_reversed = 0
-let g:ctrlp_custom_ignore = 'vendor/bundle$'
+let g:ctrlp_custom_ignore = {
+ \ 'dir': '\v[\/](.git|.hg|.svn|vendor/bundle|tmp/cache|coverage)$',
+ \ 'file': '\v\.(exe|so|dll|gif|jpg|jpeg|png|svg|ico|woff|ttf|eot)$',
+ \ }

0 comments on commit 78052ac

Please sign in to comment.