diff options
-rw-r--r-- | .vim/after/plugin/grep.vim (renamed from .vim/after/plugin/ripgrep.vim) | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.vim/after/plugin/ripgrep.vim b/.vim/after/plugin/grep.vim index 15e0285..0720e36 100644 --- a/.vim/after/plugin/ripgrep.vim +++ b/.vim/after/plugin/grep.vim @@ -2,3 +2,5 @@ if executable('rg') set grepprg=rg\ --vimgrep\ --smart-case\ --hidden\ --glob\ !.git set grepformat=%f:%l:%c:%m endif + +nnoremap <leader><leader>g :grep! <c-r>=expand('<cword>')<cr><cr> |