mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
On search through file contents, respect ignore files
This commit is contained in:
2
.vimrc
2
.vimrc
@@ -153,7 +153,7 @@ let g:fzf_colors =
|
|||||||
" window similar to :Files but will only list files that contain the term
|
" window similar to :Files but will only list files that contain the term
|
||||||
" searched
|
" searched
|
||||||
" https://medium.com/@crashybang/supercharge-vim-with-fzf-and-ripgrep-d4661fc853d2
|
" 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(<q-args>).'| tr -d "\017"', 1, <bang>0)
|
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0)
|
||||||
|
|
||||||
" Alternative, not enabled for the moment, as it also searches part of the
|
" Alternative, not enabled for the moment, as it also searches part of the
|
||||||
" file name
|
" file name
|
||||||
|
|||||||
Reference in New Issue
Block a user