mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:27:35 +00:00
Add support for rg FZF search through file text
This commit is contained in:
parent
54d9793902
commit
348d2fabc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user