regex - Ctrlp custom ignore regular expression -
documentation of ctrlp has example of ignoring folders:
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'.
and 1 used locally , works (default config files dotfiles):
let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$'
i've got folders _build, node_modules etc. should ignored, having added new folders list did not solve problems , files still appear in list of files, makes ctrlp useless.
my expression looked this:
let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$\|_build$'
what doing wrong?
Comments
Post a Comment