diff options
author | Guangxiong Lin <[email protected]> | 2022-04-13 22:20:20 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-13 22:20:20 +0800 |
commit | 10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb (patch) | |
tree | f47e2c007fc8b7e6bc133e097f3b9e75e91b320b | |
parent | af02629b45ff2994166d3614601760b682ea955f (diff) | |
download | dotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.tar.gz dotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.tar.bz2 dotfiles-10a79ab1be6dcf4c68cbf137ad8292aac6c4bffb.zip |
Improve ctrlp search (vim)
-rw-r--r-- | .vim/after/plugin/ctrlp.vim | 4 |
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> |