From ffc0092b1d9aee00585f4796c9f42653fe99ef78 Mon Sep 17 00:00:00 2001 From: Nao Ueda Date: Mon, 21 Sep 2020 09:08:25 +0900 Subject: Fix the setting for CtrlP. --- _config/110-ctrlp.vim | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/_config/110-ctrlp.vim b/_config/110-ctrlp.vim index b0955cf..4970f68 100644 --- a/_config/110-ctrlp.vim +++ b/_config/110-ctrlp.vim @@ -2,12 +2,9 @@ if empty(globpath(&rtp, 'autoload/ctrlp.vim')) finish endif -let g:ctrlp_user_command = { - \ 'types': { - \ 1: ['.git', 'cd %s && git ls-files'], - \ 2: ['.hg', 'hg --cwd %s locate -I .'], - \ }, - \ } +let g:ctrlp_custom_ignore = { +\ 'dir': '\v[\/]node_modules$', +\ } if !empty(globpath(&rtp, 'autoload/memolist.vim')) nmap mf :exe "CtrlP" g:memolist_path -- cgit v1.2.3-54-g00ecf