....why the hell don't common #terminal emulators have a "plumb" feature.
sure, you can click URLs, but how often do you wanna do that compared to opening a file?
pls, Linux, steal more ideas from Plan 9.
@Ylfingr the plumber is "an interprocess communication tool" on Plan 9 and related systems, but really it's just xdg-open but kinda better.
You can select some text and send it to the (well, a) plumber service, which matches it against your plumb rules, and decides what to do with it. Usually it opens it with some kind of program.
This means that you can open files, but also have rules for stuff like git commits, so when you plumb one, it gets dumped in diff form somewhere.
It's usually accessible through a menu item or is bound to right-click.
@Ylfingr On a proper Plan 9 system, you can also run multiple plumbers, so you could use different plumbing rules in different namespaces.
Actually I won't use it that often. Probably for images and videos but not text files. But I use the URL feature multiple times a day. All our got servers send me the URL to create pull requests / merge resuests. Using the click on URL saves me quite some time a day.