diff --git a/README.md b/README.md index 315b14d..8234f9f 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ command! -bang -nargs=* Ag " Similarly, we can apply it to fzf#vim#grep. To use ripgrep instead of ag: command! -bang -nargs=* Rg \ call fzf#vim#grep( - \ 'rg --column --line-number --no-heading --color=always '.shellescape(), 1, + \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(), 1, \ 0 ? fzf#vim#with_preview('up:60%') \ : fzf#vim#with_preview('right:50%:hidden', '?'), \ 0) diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 0608f3e..db1a507 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -236,7 +236,7 @@ You can use autoload functions to define your own commands. " Similarly, we can apply it to fzf#vim#grep. To use ripgrep instead of ag: command! -bang -nargs=* Rg \ call fzf#vim#grep( - \ 'rg --column --line-number --no-heading --color=always '.shellescape(), 1, + \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(), 1, \ 0 ? fzf#vim#with_preview('up:60%') \ : fzf#vim#with_preview('right:50%:hidden', '?'), \ 0)