diff --git a/.vimrc.plugins-settings b/.vimrc.plugins-settings index 89d109b6..15529567 100644 --- a/.vimrc.plugins-settings +++ b/.vimrc.plugins-settings @@ -9,11 +9,12 @@ au BufWrite * :Autoformat let g:rustfmt_autosave = 1 " searching -let $FZF_DEFAULT_COMMAND = 'rg --files --no-messages "" .' -set grepprg=rg\ --vimgrep +let $FZF_DEFAULT_COMMAND = 'rga --files --no-messages "" .' +set grepprg=rga\ --vimgrep let g:fzf_command_prefix = 'Fzf' -command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(), 1, 0) +command! -bang -nargs=* Find call fzf#vim#grep('rga --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(), 1, 0) let g:ctrlp_show_hidden = 1 +let g:ctrlp_user_command = 'rga %s --files --hidden --color=never --glob ""' " nerdtree startup autocmd StdinReadPre * let s:std_in=1