Emacs: goto-address-mode

In one of my previous blog posts I mentioned a command that returns the list of all open pull requests I have ever created on github:

gh search prs --author @me --state open --json title,url --template '{{range .}}{{.title}} - {{.url}}{{"\n"}}{{end}}'

I wrapped this command into krydos/show-my-prs elisp function that just executes the above’s snippet using async-shell-command.

Here is its output:

Looks great and already useful for me but what’s missing is clickable links.

Turns out Emacs, as usual, have a built in answer.

The mode is called goto-address-mode. Just turn it on in the buffer and all the links become clickable (you can also C-c RET on them).
Look:

Emacs is the best!


Feel free to contact me for feedback or questions. Find my contacts on About page.