aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-06-25 14:52:01 +0200
committerKarel Kočí <cynerd@email.cz>2020-06-25 14:52:01 +0200
commita38b08861ac8255bc8582bd4c6d9228b4721cb9c (patch)
tree88dce93738e352267dd81f0de5c3a519953e5126 /vimrc
parentc99f492fdf43b25f56065fa25ab43ff7a8d6eaee (diff)
downloadmyconfigs-a38b08861ac8255bc8582bd4c6d9228b4721cb9c.tar.gz
myconfigs-a38b08861ac8255bc8582bd4c6d9228b4721cb9c.tar.bz2
myconfigs-a38b08861ac8255bc8582bd4c6d9228b4721cb9c.zip
vimrc: ctrlp include also submodules
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 7061249..618d55e 100644
--- a/vimrc
+++ b/vimrc
@@ -131,7 +131,7 @@ nnoremap <C-C><C-C> :buffers<CR>:buffer<Space>
" CtrlP
let g:ctrlp_user_command = {
\ 'types': {
-\ 1: ['.git', 'git -C %s ls-files . -co --exclude-standard'],
+\ 1: ['.git', 'cd %s && git ls-files . -c --recurse-submodules && git ls-files . -o --exclude-standard'],
\ },
\ 'fallback': 'find %s -type f'
\ }