Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

CtrlP cannot find my files, max_files set correctly #593

Closed
montastic77 opened this Issue Jul 21, 2014 · 1 comment

Comments

Projects
None yet
1 participant

For the life of me, I can't get CtrlP to work with my setup.

I have a verilog environment with *.sv, *.v and *.tv files. I don't have a .git, .zip etc as far as I know.

I have a my.ctrlp file in my project root directory.

Here's my config:

let g:ctrlp_root_markers = ['.ctrlp']
let g:ctrlp_working_path_mode = 'ra'
let g:ctrlp_match_window = ''
let g:ctrlp_max_files = ''
let g:ctrlp_max_depth=40

I cannot find most of my files using CtrlP.

Here's an alternate setup I tried:

let g:ctrlp_working_path_mode = ''
let g:ctrlp_match_window = ''
let g:ctrlp_max_files = ''
let g:ctrlp_max_depth=40

I tried starting :CtrlP /project_root/ and refreshing the cache 'F5'. I can see it going through about 2200 files (not sure that's how many I have in project). But it cannot find multiple files in my /rtl/ directory. This directory has about 100 files but all I see is the same 10 or so files.

Any help will be appreciated! I really want to use CtrlP.

Also, on a separate note, is there a way to check from within gvim what the variables are for plugins? For instance, how do I know what is the ctrlp_max_files that is being currently used?

Figured this out. I need to add option to follow symbolic links since most of the files in database are links to the files in version controlled database.

let g:ctrlp_follow_symlinks=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment