diff options
author | Nao Ueda <nao.uedder@gmail.com> | 2020-09-21 09:09:24 +0900 |
---|---|---|
committer | Nao Ueda <nao.uedder@gmail.com> | 2020-09-21 09:09:24 +0900 |
commit | 9ce95d65649354b275b84146a59f4896dc9d3b8e (patch) | |
tree | e0a8f2e42906c2f007c42b78ca522703631bb127 /_config | |
parent | ffc0092b1d9aee00585f4796c9f42653fe99ef78 (diff) | |
download | vimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.tar.gz vimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.tar.bz2 vimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.zip |
Add `ctrp-matchfuzzy`.
Diffstat (limited to '_config')
-rw-r--r-- | _config/110-ctrlp.vim | 4 |
1 files changed, 4 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> |