russ icon indicating copy to clipboard operation
russ copied to clipboard

Add shortcut for opening urls in entry

Open nthnd opened this issue 2 years ago • 4 comments
trafficstars

Pressing u from within an Entry view will now show a navigable list of urls extracted from that entry which can either be copied or opened in a browser with the c and o hotkeys.

fixes #21

nthnd avatar Aug 06 '23 05:08 nthnd

@nate-sys thank you for the patch! I will give this a try as soon as I can.

ckampfe avatar Sep 14 '23 01:09 ckampfe

Nice work nate-sys!

Just a remark, is this the way to go or is the OSC 8 terminal code the way to go? Like foot and other terminals already have this functionality build in. The program would only have to emit the urls in a specific format.

HenkVanMaanen avatar Sep 19 '23 15:09 HenkVanMaanen

@HenkVanMaanen I was not aware of OSC 8. What you suggested is a good idea. I'll look into it. As far is the way to go? I'll let the maintainers decide that 😅.

nthnd avatar Sep 22 '23 16:09 nthnd

Thank you @nate-sys . Would you be able to post a screen recording and/or screenshot of this functionality? I usually use something like https://www.cockos.com/licecap/

ckampfe avatar Jan 12 '24 15:01 ckampfe