Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在一个庞大的代码库中工作。顶级文件和文件夹太多。但是,我在代码库的一个小角落工作——不超过 10 个目录挂在顶层。如何给 ctrl-p 这 10 个目录的列表并让它只在其中搜索?现在,即使使用let g:ctrlp_max_files=0, ctrl-p 也无法找到我的文件,因为我的文件太多。
let g:ctrlp_max_files=0