From 59b6f72412f3bd46b1201e4fb5b52660e48610a1 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 12 Apr 2022 23:58:43 +0800 Subject: Use ripgrep in vim --- .vim/after/plugin/ripgrep.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .vim/after/plugin/ripgrep.vim (limited to '.vim') diff --git a/.vim/after/plugin/ripgrep.vim b/.vim/after/plugin/ripgrep.vim new file mode 100644 index 0000000..15e0285 --- /dev/null +++ b/.vim/after/plugin/ripgrep.vim @@ -0,0 +1,4 @@ +if executable('rg') + set grepprg=rg\ --vimgrep\ --smart-case\ --hidden\ --glob\ !.git + set grepformat=%f:%l:%c:%m +endif -- cgit v1.2.3