" plugin/plugin.ctrlp.vim

" Customize the path of the cache files
let g:ctrlp_cache_dir = g:vim_home . '/tmp/ctrlp'

" Allow to prefix <C-p> with a count to start in a specific mode
let g:ctrlp_cmd = 'exe get(["CtrlPMixed", "CtrlPBuffer", "CtrlPModified", "CtrlPMRU"], v:count)'

" Avoid adding a prefix to each entry in the list
let g:ctrlp_line_prefix = ''

" Open all selected files as hidden buffers
let g:ctrlp_open_multiple_files = 'ijr'

" Use `The Silver Searcher` if available
if executable('ag')
  let g:ctrlp_user_command = 'ag %s
    \ --literal
    \ --nocolor
    \ --nogroup
    \ --depth 40
    \ --files-with-matches
    \ --skip-vcs-ignores
    \ -g ""'
endif

" Search symbols in current file
nnoremap <Leader>r :CtrlPBufTag<CR>

" plugin/plugin.ctrlp.vim

" Customize the path of the cache files
let g:ctrlp_cache_dir = g:vim_home . '/tmp/ctrlp'

" Allow to prefix <C-p> with a count to start in a specific mode
let g:ctrlp_cmd = 'exe get(["CtrlP", "CtrlPBuffer", "CtrlPMRU"], v:count)'

" Avoid adding a prefix to each entry in the list
let g:ctrlp_line_prefix = ''

" Open all selected files as hidden buffers
let g:ctrlp_open_multiple_files = 'ijr'

" Use `The Silver Searcher` if available
if executable('ag')
  let g:ctrlp_user_command = 'ag %s
    \ --literal
    \ --nocolor
    \ --nogroup
    \ --depth 40
    \ --files-with-matches
    \ --skip-vcs-ignores
    \ -g ""'
endif

" Search symbols in current file
nnoremap <Leader>r :CtrlPBufTag<CR>

Use CtrlP instead of CtrlPMixed
Use CtrlP instead of CtrlPMixed

dweidner/dotfiles,dweidner/dotfiles