Hacker News new | ask | show | jobs
by miccah 1984 days ago
> but we can hijack it to instead scan the screen for URLs and open the browser

For comparison, rxvt-unicode has perl utils for mouse-less URL selection [1]. Since it's operating within the terminal, scrollback is also available for selection (not just the currently visible screen).

After invoking the selection mode, it's as easy as using j/k to choose the URL and Enter to open or y to yank to clipboard. Installed on Arch with the `urxvt-perls` package.

[1] https://github.com/johntyree/urxvt-perls