" Use ripgrep if available if executable('rg') set grepprg=rg\ --color=never let g:ctrlp_prompt_mappings = { \ 'AcceptSelection("e")': [], \ 'AcceptSelection("t")': [''], \ } let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' let g:ctrlp_use_caching = 1 endif