if get(g:, 'loaded_fzf_vim', 0) == 0 let g:ctrlp_map = 'ff' let g:ctrlp_cmd = 'CtrlP' let g:ctrlp_working_path_mode = 'ra' let g:ctrlp_use_caching = 0 let g:ctrlp_extensions = ['tag', 'buffertag', 'quickfix', 'line'] let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } let g:ctrlp_user_command = 'find %s -type f' if executable('fd') let g:ctrlp_user_command = 'fd --hidden --type f . %s' endif nnoremap fb :CtrlPBuffer nnoremap fm :CtrlPMRU nnoremap fT :CtrlPTag nnoremap ft :CtrlPBufTag bufnr() nnoremap fq :CtrlPQuickfix nnoremap fl :CtrlPLine bufnr() packadd ctrlp.vim packadd ctrlp-py-matcher endif