From c013382003a79f276f79f216a01b80b612f895a8 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 23 Apr 2023 01:18:49 +0800 Subject: Remove shellescape in fzfrg in vim --- .vim/after/plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/after/plugin/fzf.vim b/.vim/after/plugin/fzf.vim index 3c7d03d..df1ef6d 100644 --- a/.vim/after/plugin/fzf.vim +++ b/.vim/after/plugin/fzf.vim @@ -39,7 +39,7 @@ if executable('fzf') && get(g:, 'loaded_fzf', 0) == 1 command! -bang -nargs=* FzfRg \ call fzf#vim#grep( - \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case --glob !.git '.shellescape(), 1, + \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case --glob !.git ' . , 1, \ fzf#vim#with_preview(), 0) noremap ff :FzfFiles -- cgit v1.2.3