mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Do not include hidden files, as it will include ignored, like Git files
This commit is contained in:
2
.vimrc
2
.vimrc
@@ -169,7 +169,7 @@ command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-h
|
|||||||
" https://sidneyliebrand.io/blog/how-fzf-and-ripgrep-improved-my-workflow
|
" https://sidneyliebrand.io/blog/how-fzf-and-ripgrep-improved-my-workflow
|
||||||
command! -bang -nargs=* Rg
|
command! -bang -nargs=* Rg
|
||||||
\ call fzf#vim#grep(
|
\ call fzf#vim#grep(
|
||||||
\ 'rg --column --line-number --hidden --smart-case --no-heading --color=always '.shellescape(<q-args>), 1,
|
\ 'rg --column --line-number --smart-case --no-heading --color=always '.shellescape(<q-args>), 1,
|
||||||
\ <bang>0 ? fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'up:60%')
|
\ <bang>0 ? fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'up:60%')
|
||||||
\ : fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'right:50%:hidden', '?'),
|
\ : fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'right:50%:hidden', '?'),
|
||||||
\ <bang>0)
|
\ <bang>0)
|
||||||
|
|||||||
Reference in New Issue
Block a user