0

There is a file called login.js located in ~/website/blog/views/login.js, I used the command :Ctrlp ~/website/blog, then typed in login.js to search this file, but ctrlp couldn't find it. The best match was index.js, which was nothing to do with it. Then I tried to search /login.js with the same command, this time it worked. Why? Can I do something to make login.js work too?

P.S. I tried to set

let g:ctrlp_max_depth = 10000
let g:ctrlp_max_files = 10000

didn't work.

Searene
  • 25,920
  • 39
  • 129
  • 186

1 Answers1

0

Use ctrlpvim/ctrlp.vim instead of kien/ctrlp.vim solved this problem.

Searene
  • 25,920
  • 39
  • 129
  • 186