diff options
author | Guangxiong Lin <[email protected]> | 2022-04-12 23:58:43 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-12 23:58:43 +0800 |
commit | 59b6f72412f3bd46b1201e4fb5b52660e48610a1 (patch) | |
tree | 81a106f425dc8a0fd3e5f96e633cac4618a82a76 /.vim/after/plugin | |
parent | d5ed7f28de10689e232a54a59cf971d01d56ac85 (diff) | |
download | dotfiles-59b6f72412f3bd46b1201e4fb5b52660e48610a1.tar.gz dotfiles-59b6f72412f3bd46b1201e4fb5b52660e48610a1.tar.bz2 dotfiles-59b6f72412f3bd46b1201e4fb5b52660e48610a1.zip |
Use ripgrep in vim
Diffstat (limited to '.vim/after/plugin')
-rw-r--r-- | .vim/after/plugin/ripgrep.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 |