summaryrefslogtreecommitdiff
path: root/_config/110-ctrlp.vim
diff options
context:
space:
mode:
Diffstat (limited to '_config/110-ctrlp.vim')
-rw-r--r--_config/110-ctrlp.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/_config/110-ctrlp.vim b/_config/110-ctrlp.vim
new file mode 100644
index 0000000..07b521d
--- /dev/null
+++ b/_config/110-ctrlp.vim
@@ -0,0 +1,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'
+ \ }