vimrc 中添加下面的就行: ``` vimrc "let g:ctrlp_custom_ignore = $PWD.'/\(\.git\|node_modules\)$' let g:ctrlp_custom_ignore = $PWD.'/\(node_modules\)$' ```