1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-13 12:30:40 +08:00

Merge pull request #366 from zeroasterisk/ctrlp-config

Add more common ctrlp_custom_ignore
This commit is contained in:
Wang Shidong 2017-03-28 17:25:57 +08:00 committed by GitHub
commit b859a71678

View File

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