Allow clicking on results in terminal to open folder or file viewer
schallm opened this issue · 0 comments
schallm commented
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