summaryrefslogtreecommitdiff
path: root/_config/110-ctrlp.vim
blob: ac66b5aa7a61756218b233e3c8a04a77fdd71224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 <Leader>mf :exe "CtrlP" g:memolist_path<cr><f5>
    nmap <Leader>mc :MemoNew<cr>
    nmap <Leader>mg :MemoGrep<cr>
endif