humacs / humacs

Macros for Humans
BSD 2-Clause "Simplified" License
12 stars 5 forks source link

Add xdg-open support for opening a browser #42

Open BobyMCbobs opened 3 years ago

hh commented 3 years ago

Some tangental discussion around supporting links.

https://github.com/kovidgoyal/kitty/issues/68

hh commented 3 years ago

https://github.com/kovidgoyal/kitty/pull/3500

Not sure what this is saying... is it that we can write kittens to open stuff via python?

hh commented 3 years ago

allow_hyperlinks yes

Process hyperlink (OSC 8) escape sequences. If disabled OSC 8 escape sequences are ignored. Otherwise they become clickable links, that you can click by holding down ctrl+shift and clicking with the mouse. The special value of ask means that kitty will ask before opening the link.

From https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.allow_hyperlinks