Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trying different finding modes for ctrlp

  • Loading branch information...
commit 449ff90b7bada89e705a395d280ad676a629debf 1 parent 68878dc
@adamcooper authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 vimrc
View
8 vimrc
@@ -146,9 +146,11 @@ vmap <leader>p "*gP
" CTR-P plugin settings
-"let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files', 'find %s -type f']
-let g:ctrlp_user_command = 'find %s -type f'
-let g:ctrlp_custom_ignore = {'dir': '\.git$\'}
+let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files', 'find %s -type f']
+"let g:ctrlp_custom_ignore = {'dir': '\.git$\'}
+"let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files']
+"let g:ctrlp_user_command = ['.hg/', 'hg --cwd %s locate -I .']
+"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' }
" succombing to nerdtree
let g:NERDTreeWinSize=40
Please sign in to comment.
Something went wrong with that request. Please try again.