question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] Support quickfix/location lists options to show `rg` search results

See original GitHub issue

The results of rg output are shown in a decidated window which is different from the default :grep/:lgrep behaviour. The convenience of the latter two is that :cnext/:cprevious/:cfirst/:clast/… are available, and that makes --recall the default, and --next/--previous redundant as default Vim’s commands already exist.

Would it be possible to add --quickfix/--location as an option to rg’s window position option?

PS Thanks for LeaderF, it’s by far more usable than other fuzzy finders.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
tamago324commented, Feb 10, 2020

#488 has been merged, so you can output it to quickfix and location list!

3reactions
joeridegcommented, Jan 8, 2020

One advantage is that after running rg and outputting results in the quicklist I can then do cfdo to replace values in those files. Or is there a way to replace values currently that I am not aware of?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fast Searching with ripgrep - Marius Schulz
This command will recursively search all files in the current directory (and its subdirectories) for the string // TODO and output the matches ......
Read more >
Untitled
Currently vim8 and vim9 are supported, with minimal work the list can grow longer to include ... r\n :Gitsh REV : show the...
Read more >
rg command man page - ripgrep - ManKier
ripgrep (rg) recursively searches the current directory for a regex pattern. ... supported regex engines depending on the features used in a pattern....
Read more >
Vim documentation: version8 - Polarhome
Use this command to see the full version and features information of the Vim ... a list with buffer information |getcharsearch()| return character...
Read more >
Profile for GitHub - Linknovate
You will use Vue and Spring Boot to build a todo list web application. The application will include CRUD abilities, meaning that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found