1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Do not include hidden files, as it will include ignored, like Git files

This commit is contained in:
2020-01-29 13:59:33 +01:00
parent e4bb09e1d8
commit 6e68b27156

2
.vimrc
View File

@@ -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
command! -bang -nargs=* Rg
\ 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%')
\ : fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'right:50%:hidden', '?'),
\ <bang>0)