diff options
-rw-r--r-- | _config/110-ctrlp.vim | 4 | ||||
-rw-r--r-- | vimrc | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/_config/110-ctrlp.vim b/_config/110-ctrlp.vim index 4970f68..ac66b5a 100644 --- a/_config/110-ctrlp.vim +++ b/_config/110-ctrlp.vim @@ -6,6 +6,10 @@ let g:ctrlp_custom_ignore = { \ 'dir': '\v[\/]node_modules$', \ } +if !empty(globpath(&rtp, 'autoload/ctrlp_matchfuzzy.vim')) + let g:ctrlp_match_func = {'match': 'ctrlp_matchfuzzy#matcher'} +endif + if !empty(globpath(&rtp, 'autoload/memolist.vim')) nmap <Leader>mf :exe "CtrlP" g:memolist_path<cr><f5> nmap <Leader>mc :MemoNew<cr> @@ -127,6 +127,7 @@ Plug 'ctrlpvim/ctrlp.vim' Plug 'mattn/ctrlp-mark' Plug 'mattn/ctrlp-register' Plug 'mattn/ctrlp-launcher' +Plug 'mattn/ctrlp-matchfuzzy' "apt install ripgrep Plug 'mileszs/ack.vim' |