I am editing a document with lots of URLs in it, and I would like to automatically fold them down to just the last part of the URL so that they take up less room on the line, similar to the way hideshow
folds up blocks of code. For example:
<http://www.foo.bar/baz.html>
To:
<baz.html>
I would appreciate any suggestions on how to do this, preferably in a way that is compatible with goto-address
. I'm also wondering if it's possible to include a +/-
symbol next to the URL like in hideshowvis
.