Show line number on the same line as file name in pretty mode #1593
Replies: 3 comments
-
I think what you want is --no-heading.
Not sure if you'll see this since you deleted the question. I'd appreciate
if you didn't do that. If you found your answer, please post it so that
others can benefit from it too.
Thanks
- Andrew
…On Fri, May 22, 2020 at 5:42 PM timkgh ***@***.***> wrote:
Is there a way to have ripgrep show the line (and possibly column) number
on the same line in pretty mode in the terminal, just like grep does?
This would allow one to cmd+click to open the file in an editor and jump
to the matched line.
I know there is --vimgrep but I'm looking for pretty output that can be
visually processed in a terminal and occasionally cmd+click on a file to
open it the associated IDE.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1593>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADPPYWYYW6FEHIL7XOUZ3DRS3WULANCNFSM4NIENBAQ>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timkgh
-
Thank you. I did not delete the question, it seems GitHub is having issues, it disappears and then it shows up again. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh! Weird. Sorry about that. I'll check back later and make sure my
answer is posted. :-)
- Andrew
…On Fri, May 22, 2020 at 6:32 PM timkgh ***@***.***> wrote:
Thank you. I did not delete the question, it seems GitHub is having issues, it disappears and then it shows up again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have
ripgrep
show the line (and possibly column) number on the same line in pretty mode in the terminal, just likegrep
does? This would allow one tocmd+click
to open the file in an editor and jump to the matched line.I know there is
--vimgrep
but I'm looking for pretty output that can be visually processed in a terminal and occasionallycmd+click
on a file to open it the associated IDE.Beta Was this translation helpful? Give feedback.
All reactions