I'm sure this will have been asked before, but I can't seem to find a solution.
I tend to open Vim from the root of my project, let's say:
Which looks something like:
project/ | - app/ | | - scripts/ | | | - ... | | - styles/ | | | - ... | - index.html | - Gruntfile.js | - README.md
When I open Vim from the
project directory, I only want CtrlP to index these files and subdirectories.
Instead, I seem to get indexes for all of the root's sibling directories too and sometimes even further up. This becomes pretty annoying when I want to find a file with a common name across all my projects.
As far as I remember, I've only ever changed one configuration setting for CtrlP and it's the ignore directive:
let g:ctrlp_custom_ignore = 'bower_components\|node_modules\|vendor\|.git|static\'
Is this the default behaviour and if not, how can I change it?