summaryrefslogtreecommitdiff
path: root/_config/110-ctrlp.vim
blob: 07b521d18d7085f195604f28ebdae59bfd0a4530 (plain)
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'
	\ }