Browse Url

Superhacker Federico Mena-Quintero talks about using Emacs for GTD. I do something similar but in a less organized fashion. He mentions that it would be nice if it were better integrated with the desktop. For URLs, I’ve been using the browse-url package for many years. Dropping the following line into your .emacs enables the feature.

(global-set-key (kbd "C-c b") 'browse-url)

Pressing C-c b parses the text around the cursor for a plausible URL and uses that as the default. Pressing enter will open the default browser with the chosen URL.

browse-url

Pretty cool, huh?

Possibly related:

  • No related posts

Leave a Reply