aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-13 22:20:20 +0800
committerGuangxiong Lin <[email protected]>2022-04-13 22:20:20 +0800
commit10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb (patch)
treef47e2c007fc8b7e6bc133e097f3b9e75e91b320b /.vim/after
parentaf02629b45ff2994166d3614601760b682ea955f (diff)
downloaddotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.tar.gz
dotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.tar.bz2
dotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.zip
Improve ctrlp search (vim)
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/ctrlp.vim4
1 files changed, 3 insertions, 1 deletions
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 <leader>fb :CtrlPBuffer<CR>