This CtrlP extension adds support for per-project ignore patterns, as defined by
.ctrlpignore file located at the root of the the project. It's like
.hgignore for CtrlP.
Install it by using you preferred Vim plugin manager (Pathogen or Vundle are
recommended), and adding this to your
let g:ctrlp_extensions = ['autoignore']
Of course, add
'autoignore' to an existing
you're already using some other CtrlP extensions.
Next, add a
.ctrlpignore file at the root of one of your project, and specify
file and directory patterns to ignore. Don't forget to hit
<F5> next time you
open CtrlP to force it to refresh its search results.
:help ctrlp-autoignore for more information.