Add support for rg FZF search through file text

This commit is contained in:
ViViDboarder 2019-11-01 15:07:19 -07:00
parent 54d9793902
commit 348d2fabc6

View File

@ -28,7 +28,11 @@ if !exists('g:ctrlp_in_use')
nnoremap <leader>b :FZFBuffers<CR>
nnoremap <silent> <F2> :FZFBuffers<CR>
" Find text in files
if executable('rg')
nnoremap <leader>f :FZFRg<CR>
elseif executable('ag')
nnoremap <leader>f :FZFAg<CR>
endif
" Find tags
nnoremap <leader>r :FZFTags<CR>
" Find buffer tags