diff options
Diffstat (limited to '.vim/after/plugin')
-rw-r--r-- | .vim/after/plugin/grep.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.vim/after/plugin/grep.vim b/.vim/after/plugin/grep.vim index 3d80ebb..6210a31 100644 --- a/.vim/after/plugin/grep.vim +++ b/.vim/after/plugin/grep.vim @@ -4,4 +4,7 @@ if executable('rg') endif nnoremap <leader><leader>g :grep! <c-r>=expand('<cword>')<cr><cr> -nnoremap <leader>fr :grep!<space> + +if maparg('<leader>fr', 'n') == '' + nnoremap <leader>fr :grep!<space> +endif |