next up previous contents
Next: Advanced Customization Up: Configuring Mutt Previous: Dealing with Word Doc   Contents

Dealing with URLs in Messages

Many messages have URLs embedded in the text. Urlview is the right tool to deal with them. You can configure it to launch a graphical browser like Firefox, Opera, or Konqueror if you have the X Window system running and launch lynx or links if you don't. Fortunately it's easy for urlview to distinguish whether or not you're using X and proceed smoothly from there.

First, install urlview. Second, add the following lines to your .muttrc:

macro index \cb |urlview\n 'call urlview to extract URLs out of a message'

The macro above sets the key binding control-B to launch urlview (more about macros in section 4.4). Try it once and you'll see how nice a system it is.



Randall Wood 2009-12-02