Switch to ripgrep

main
Thomas Gideon 5 years ago
parent f58dde7a81
commit 3f9644f3be
  1. 7
      fzf.vim
  2. 4
      plug.vim

@ -18,3 +18,10 @@ let g:fzf_colors =
nnoremap <Leader>f :Files
nnoremap <Leader>b :Buffers
nnoremap <Leader>t :Tags
command! -bang -nargs=* Rg
\ call fzf#vim#grep(
\ 'rg --column --line-number --no-heading --color=always '.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)

@ -6,9 +6,9 @@ Plug 'editorconfig/editorconfig-vim'
Plug 'scrooloose/nerdtree'
" syntax checking on steroids
Plug 'scrooloose/syntastic'
" integrate ag, especially to be able to open matches, hugely useful for
" integrate ripgrep, especially to be able to open matches, hugely useful for
" code aware search
Plug 'rking/ag.vim'
Plug 'jremmen/vim-ripgrep'
" lightweight but sophisticated status line
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

Loading…
Cancel
Save