if empty(globpath(&rtp, 'autoload/ctrlp.vim')) finish endif 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 mf :exe "CtrlP" g:memolist_path nmap mc :MemoNew nmap mg :MemoGrep endif