You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sup 0.20 introduces the possibility to open the uri that is under the cursor with the g key. When the user presses the key, sup parses the text that is under the cursor and in the following lines, up to the next paragraph jump (ie 2 newlines). If there is an uri and there is goto hook, it is called with the uri that is parsed.
A good, generic hook is the following script:
system("xdg-open #{uri} > /dev/null")
This requires installation of xdg-utils. On archlinux, there is a packet for this, called xdg-utils