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:
parent
fa6d499a81
commit
93f6e94d77
@ -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
|
||||
@ -1,2 +1,4 @@
|
||||
let $FZF_DEFAULT_COMMAND='rg --files'
|
||||
|
||||
map <C-P> :FZF<CR>
|
||||
map <C-B> :Buffers<CR>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user