summaryrefslogtreecommitdiff
path: root/_config
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-09-21 09:09:24 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-09-21 09:09:24 +0900
commit9ce95d65649354b275b84146a59f4896dc9d3b8e (patch)
treee0a8f2e42906c2f007c42b78ca522703631bb127 /_config
parentffc0092b1d9aee00585f4796c9f42653fe99ef78 (diff)
downloadvimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.tar.gz
vimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.tar.bz2
vimrc-9ce95d65649354b275b84146a59f4896dc9d3b8e.zip
Add `ctrp-matchfuzzy`.
Diffstat (limited to '_config')
-rw-r--r--_config/110-ctrlp.vim4
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>