Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow clicking on results in terminal to open folder or file viewer #1563

Closed
schallm opened this issue May 16, 2024 · 1 comment · May be fixed by #1571
Closed

Allow clicking on results in terminal to open folder or file viewer #1563

schallm opened this issue May 16, 2024 · 1 comment · May be fixed by #1571

Comments

@schallm
Copy link

schallm commented May 16, 2024

Would love to see something similar to ripgrep's new --hyperlink-format option. ( 14.0.0 release ) It so helpful to be able to open matching files and even have it jump line number of matched text. It would be great if fd allowed something similar.

For example:

  • Allowing folders to be opened in the OS's default folder viewer (i.e., Finder, Explorer, ...) with --folder-hyperlink-format default and allowing overrides like the following to open directory a new default shell --folder-hyperlink-format shell
  • File handling could match ripgrep's handler and open the file with the OS's default handler with --file-hyperlink-format default and allow overrides for common tools like vscode with --file-hyperlink-format vscode
tmccombs added a commit to tmccombs/fd that referenced this issue Jun 8, 2024
tmccombs added a commit to tmccombs/fd that referenced this issue Jun 8, 2024
@tmccombs
Copy link
Collaborator

tmccombs commented Jun 8, 2024

This is a duplicate of #1295

@tmccombs tmccombs closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2024
tmccombs added a commit to tmccombs/fd that referenced this issue Jun 8, 2024
tmccombs added a commit to tmccombs/fd that referenced this issue Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants