kien/ctrlp.vim — Issue #19: wildignore makes problems for fugitive.vim
Author: graudeejs
Created: 2011-10-19 19:55:14+00:00
State: open

```
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*.so
```

Is a bad idea, It breaks fugitive plugin.
A much better is to simply
```
let g:ctrlp_user_command = "find %s -type f | egrep -v '/\.(git|hg|svn)/' | egrep -v '\.(swp|swo|log|gitkep|keepme|so|o)$'"
```

This is very fast and it will filter all directories and files, that you really don't want to find without breaking fugitive.

Perhaps some info about this in help and/or from page should be added

Otherwise this is great plugin.