Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
300 B

4 years ago
4 years ago
  1. " Use ripgrep if available
  2. if executable('rg')
  3. set grepprg=rg\ --color=never
  4. let g:ctrlp_prompt_mappings = {
  5. \ 'AcceptSelection("e")': [],
  6. \ 'AcceptSelection("t")': ['<cr>'],
  7. \ }
  8. let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
  9. let g:ctrlp_use_caching = 1
  10. endif