Skip to content

Commit

Permalink
vim: To find a word by fzf in gitignored path
Browse files Browse the repository at this point in the history
ref.
BurntSushi/ripgrep#645 (comment)

Signed-off-by: flavono123 <flavono123@gmail.com>
  • Loading branch information
flavono123 committed Aug 4, 2022
1 parent 4906001 commit 602ae40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/.vim/plugin/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ let g:fzf_action = {

command! -bang -nargs=* Rg
\ call fzf#vim#grep(
\ 'rg --column --line-number --no-heading --color=always --smart-case -L -- '.shellescape(<q-args>), 1,
\ 'rg --column --line-number --no-heading --color=always --smart-case -L --no-ignore-vcs -- '.shellescape(<q-args>), 1,
\ fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}), <bang>0)

0 comments on commit 602ae40

Please sign in to comment.