Questions tagged [ripgrep]
The ripgrep tag has no usage guidance.
8
questions
0
votes
0
answers
260
views
FZF-Vim with ripgrep: load results into quickfix list?
I used to use the vim-ripgrep plugin to integrate with ripgrep (:Rg), which would load the results from rg into a quickfix list, so I could go back and forward over them with [q and ]q.
Now I use the ...
0
votes
1
answer
210
views
How to pass an argument for glob in fzf.vim Rg to support searching in specific files?
I am using fzf.vim plugin with ripgrep.
Fzf comes with the command :RG and :Rgright out of the box that lets me to search for keywords in files.
However, often I need to search for keywords in ...
1
vote
1
answer
169
views
How to use alternation operator in ripgrep + vim?
I have the following in my .vimrc which (I believe) makes :grep within Vim use rg:
if executable('rg')
set grepprg=rg\ --no-heading\ --vimgrep\ --hidden\ --case-sensitive\ --ignore-vcs\ --glob\ '!....
1
vote
1
answer
727
views
How can use :grep with range in neovim with ripgrep as external grep program?
I am using ripgrep as external grep program in neovim. Which works when I call :grep 'pattern' in neovim Command Mode.
I frequently have to search some strings within a blocked range in long json ...
0
votes
1
answer
259
views
Multiline search and replace with quickfix list and :cdo
I'm working on applying doctrine/coding-standard on doctrine/orm, and I would like to work smarter.
I would like to search occurences of
/**
* @Id
* @Column(type="integer")
...
1
vote
1
answer
633
views
How to open ripgrep search in new tab
I'm able to search open a file in the current tab, but not able to open in a new tab.
I was watching this tutorial, but I'm unable to open a file in tabs or splits. When I try ctrl-t I get this error
1
vote
1
answer
508
views
Custom key binding for project-wide search and replace using FZF.vim Rg function?
I know that one can do a project-wide search and replace using the results of an Rg search in FZF.vim by doing the following:
Run :Rg SEARCH_TERM
Use Alt + a (or in my case, Esc + a, since I'm using ...
0
votes
1
answer
2k
views
Opening multiple files in Vim with fzf.vim's Rg command
Recently I was watching the following YouTube video https://youtu.be/fP_ckZ30gbs?t=1365 and got confused at the part where he is talking about opening multiple files at once. I tried this on my own ...