Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

custom binds/handlers for links and other content #350

Open
brightersun99 opened this issue Oct 4, 2020 · 2 comments
Open

custom binds/handlers for links and other content #350

brightersun99 opened this issue Oct 4, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@brightersun99
Copy link

What do you want

It would be very neat if we had some w3m-esque configuration for handling links via binds.
For instance, passing a youtube link to mpv or youtube-dl.

You could navigate to a link and hit a key that you had configured a bind to, and pass that link to youtube-dl, mpv or some other script.

Why

It hugely extend the flexibility of cordless, it'd be a gift that just kept on giving.

Implementation hints

I imagine some bash and pipes could do the job?

@brightersun99
Copy link
Author

As another example I have w3m configured so when I open a video in youtube and hit B it passes it to mpv for me.

But it could be simplified by just having selected the link

@Bios-Marcel Bios-Marcel added the enhancement New feature or request label Oct 10, 2020
@Bios-Marcel
Copy link
Owner

Could you give me examples of what such configurations could look like?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants