ctrlp.vim 418 B

123456789101112
  1. " Function definition jumping with CtrlP's Funky plugin
  2. nnoremap <silent> <C-F> :CtrlPFunky<CR>
  3. "let g:ctrlp_working_path_mode = 'rw' let's try out ra
  4. let g:ctrlp_user_command = {
  5. \ 'types': {
  6. \ 1: ['.git', 'cd %s && git ls-files . --cached --exclude-standard --others'],
  7. \ 2: ['.hg', 'hg --cwd %s locate -I .'],
  8. \ },
  9. \ 'fallback': 'find %s -type f'
  10. \ }
  11. let g:ctrlp_extensions = ['funky']