Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
change fzf rg command because of syntax change of vim
Browse files Browse the repository at this point in the history
Signed-off-by: Luong Vo <vo.tran.thanh.luong@gmail.com>
  • Loading branch information
luong-komorebi committed Jul 26, 2021
1 parent d9eb369 commit 04b0856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ command! -bang -nargs=* Rg
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)

command! -bang -nargs=* SearchExactWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --smart-case --hidden --color=always --glob "!\{.git, node_modules\}" '.shellescape(<q-args>), 1,
command! -bang -nargs=* SearchExactWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --smart-case --hidden --color=always --glob "!{.git, node_modules}" '.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)
Expand Down

0 comments on commit 04b0856

Please sign in to comment.