I installed my project’s dependencies locally while debugging. It didn’t take long to notice that control-P would pick these files up while fuzzy searching. This rendered control-P useless as it presented me with gems that I didn’t care about editing.

My solution was to instruct control-P to ignore files in the vendor directory by adding this line to the .vimrc file:

set wildignore+=*/vendor/*