From 0494ba03863dcdce2f87e130e391916d6cc7f4c1 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 14 May 2019 16:41:51 +0200 Subject: [PATCH] On search through file contents, respect ignore files --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 8d006b3..cf0a6fc 100644 --- a/.vimrc +++ b/.vimrc @@ -153,7 +153,7 @@ let g:fzf_colors = " window similar to :Files but will only list files that contain the term " searched " https://medium.com/@crashybang/supercharge-vim-with-fzf-and-ripgrep-d4661fc853d2 -command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --color "always" '.shellescape().'| tr -d "\017"', 1, 0) +command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape().'| tr -d "\017"', 1, 0) " Alternative, not enabled for the moment, as it also searches part of the " file name