1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Use rg for FZF

This commit is contained in:
Daniel Barber 2023-01-23 16:17:18 -06:00
parent fa6d499a81
commit 93f6e94d77
2 changed files with 2 additions and 5 deletions

View File

@ -1,5 +0,0 @@
if executable('rg')
set grepprg=rg\ --color=never
let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
let g:ctrlp_use_caching = 0
endif

View File

@ -1,2 +1,4 @@
let $FZF_DEFAULT_COMMAND='rg --files'
map <C-P> :FZF<CR>
map <C-B> :Buffers<CR>