1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:50:05 +08:00

Add more common ctrlp_custom_ignore

I may have added too much, and would be willing to reduce and update the PR, but including `node_modules` and `tmp` at least should be done
This commit is contained in:
alan blount 2017-03-27 23:05:01 -04:00 committed by GitHub
parent c4df42b5ae
commit 9b302f8fab

View File

@ -12,8 +12,8 @@ let g:ctrlp_cache_dir = $HOME.'/.cache/ctrlp'
"let g:ctrlp_open_multiple_files = 'v' "let g:ctrlp_open_multiple_files = 'v'
"if you have install ag, the g:ctrlp_custom_ignore will not work "if you have install ag, the g:ctrlp_custom_ignore will not work
let g:ctrlp_custom_ignore = { let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(git|hg|svn)$|target', \ 'dir': '\v[\/]\.(git|hg|svn)$|target|node_modules|te?mp$|logs?$|public$|dist$',
\ 'file': '\v\.(exe|so|dll|ttf|png)$|\-rplugin\~', \ 'file': '\v\.(exe|so|dll|ttf|png|gif|jpe?g|bpm)$|\-rplugin\~',
\ 'link': 'some_bad_symbolic_links', \ 'link': 'some_bad_symbolic_links',
\ } \ }
if executable('rg') if executable('rg')