ctrlp.vim icon indicating copy to clipboard operation
ctrlp.vim copied to clipboard

Not showing dotfiles/symlinks event with show_hidden setting

Open MarcelRobitaille opened this issue 7 years ago • 3 comments

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.

MarcelRobitaille avatar May 16 '17 19:05 MarcelRobitaille

Im getting the same behavior.

kyprifog avatar Jun 07 '17 18:06 kyprifog

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?

ezmiller avatar Jul 31 '17 18:07 ezmiller

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

josh-m-sharpe avatar Sep 13 '19 16:09 josh-m-sharpe