1 2 3 4 5 6 7 8 9 10 11
if empty(globpath(&rtp, 'autoload/ctrlp.vim')) finish endif let g:ctrlp_user_command = { \ 'types': { \ 1: ['.git', 'cd %s && git ls-files'], \ 2: ['.hg', 'hg --cwd %s locate -I .'], \ }, \ 'fallback': 'find %s -type f' \ }