Open ghost opened 5 years ago
Hi david, I'm using this:
let g:ctrlp_custom_ignore = {
\ 'dir' : '\.git$\|build$\|bower_components\|node_modules\|dist\|target' ,
\ 'file' : '\v\.(exe|dll|lib)$'
\ }
And works fine for me... I'm escaping the .
perhaps that will solve it for you?
I copied and pasted that
let g:ctrlp_custom_ignore = { \ 'dir': '\v[\/].(git|hg|svn)$', \ 'file': '\v.(exe|so|dll)$', \ 'link': 'some_bad_symbolic_links', \ }
into my vimrc file. There is no plugin installed besides ctrlp. Still, a command "ctrl+p" inside vim immediately shows a bunch of .git files and nothing else. I am having this behavior forever, and the impossibility to ignore migrations in a rails project renders the plugin unusable. Any help?