Ji-Yuhang
5/25/2016 - 2:51 AM

ctrlp-still-searches-the-ignored-directory

ctrlp-still-searches-the-ignored-directory

if has("mac")
    let g:ctrlp_user_command = 'gfind %s -type f'
    " Sane Ignore For ctrlp
endif
if exists("g:ctrlp_user_command")
  unlet g:ctrlp_user_command
endif
set wildignore+=*\\vendor\\**
set wildignore+=*/tmp/*,*.so,*.swp,*.zip     " MacOSX/Linux
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe  " Windows
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
let g:ctrlp_custom_ignore = {
      \ 'dir':  '\.git$\|\.hg$\|\.svn$\|\.yardoc\|public\/images\|public\/system\|data\|log\|tmp$',
      \ 'file': '\.exe$\|\.so$\|\.dat$',
      \ 'link': 'some_bad_symbolic_links',
      \ }