By default ctrlp will look for the root of your repo (by looking for a .git, .hg, .svn or .bzr file) and then start searching for files in that folder. For the project I’m currently working on that has too many files (Probably millions) I prefer that ctrlp only searches inside the folder were I started vim. This can be done with this setting in .vimrc:

1
let g:ctrlp_working_path_mode = 'a'
[ productivity  vim  ]
Neovim as ESP32 IDE with Clangd LSP
Using Arduino Language Server With Neovim
Getting Started With Neovim
Setting up LSP in Vim
Vim command line mode