From b8722d782d31615e3baaba12cf8f81ab1551f947 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Thu, 19 May 2016 00:30:13 -0700 Subject: [PATCH] CTRL ignore all gitignore'd files Taken straight from the docs: https://github.com/ctrlpvim/ctrlp.vim --- vimrcs/plugins_config.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrcs/plugins_config.vim b/vimrcs/plugins_config.vim index 5d2ef45d..9139f035 100644 --- a/vimrcs/plugins_config.vim +++ b/vimrcs/plugins_config.vim @@ -47,6 +47,7 @@ map :CtrlPBuffer let g:ctrlp_max_height = 20 let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee' +let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] """"""""""""""""""""""""""""""