kien / ctrlp.vim

Fuzzy file, buffer, mru, tag, etc finder.
kien.github.com/ctrlp.vim
7.26k stars 676 forks source link

Not showing dotfiles/symlinks event with show_hidden setting #731

Open MarcelRobitaille opened 7 years ago

MarcelRobitaille commented 7 years ago

I cannot get CtrlP to show dotfiles or symlinks. In my .vimrc, I have:

let g:ctrlp_show_hidden = 1
let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden --follow
  \ --ignore .git
  \ -g ""'

Running ag outside of vim has no problems finding my files.

kyprifog commented 7 years ago

Im getting the same behavior.

ezmiller commented 7 years ago

I'm using: :let g:ctrlp_user_command = 'ag %s -l --hidden --nocolor -g ""' along with g:ctrlp_show_hidden =1, which works. Maybe something going on with the other parts of your user command? The line breaks?

josh-m-sharpe commented 4 years ago

Same behavior here.. @ezmiller fix works for me.