summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-09-21 09:08:25 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-09-21 09:08:25 +0900
commitffc0092b1d9aee00585f4796c9f42653fe99ef78 (patch)
treee38aa9eb5f5c0282609ca0349f0b20d418d6e331
parentd8134d3678ebea9ec313de175d38ea33be4b481a (diff)
downloadvimrc-ffc0092b1d9aee00585f4796c9f42653fe99ef78.tar.gz
vimrc-ffc0092b1d9aee00585f4796c9f42653fe99ef78.tar.bz2
vimrc-ffc0092b1d9aee00585f4796c9f42653fe99ef78.zip
Fix the setting for CtrlP.
-rw-r--r--_config/110-ctrlp.vim9
1 files 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 <Leader>mf :exe "CtrlP" g:memolist_path<cr><f5>