From 10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 13 Apr 2022 22:20:20 +0800 Subject: Improve ctrlp search (vim) --- .vim/after/plugin/ctrlp.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.vim/after/plugin/ctrlp.vim') diff --git a/.vim/after/plugin/ctrlp.vim b/.vim/after/plugin/ctrlp.vim index 9c16164..1b5268d 100644 --- a/.vim/after/plugin/ctrlp.vim +++ b/.vim/after/plugin/ctrlp.vim @@ -8,7 +8,9 @@ if get(g:, 'loaded_fzf_vim', 0) == 0 let g:ctrlp_user_command = 'find %s -type f' if executable('fd') - let g:ctrlp_user_command = 'fd --hidden --type f . %s' + let g:ctrlp_user_command = ' + \ fd --hidden --type f . %s + \ --exclude .git' endif nnoremap fb :CtrlPBuffer -- cgit v1.2.3