Closed nicholaides closed 10 years ago
This might work:
let g:ag_binary = system("which ag | xargs echo -n")
if filereadable(g:ag_binary)
let g:ctrlp_user_command = g:ag_binary . ' %s -l --nocolor -g ""'
endif
let g:ctrlp_use_caching = 0
Would love that!
Apparently there's a way to use them together so you don't have to refresh CtrlP when files are added or removed.