Hi all.

Question 1:

My editor is vim, and I wrap lines at 68.

When confronted with a 'longer-than-68' URL, my colourization-regexp
won't cath the second-line part of the URL, e.g.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.ht
ml

What do I need in my regexp to make this work? Right now I have:

"(http|ftp|news|telnet|finger)://[^ ]*"

Additional improvements is also welcome :-)

Question 2:

The above URL is actually 83 chars, and wrapped at 81. I suppose I'm
missing something, since (I believe) I'm wrapping at 68?

set editor="vim \
        -c 'set tw=68 et'"

-- 
Martin Karlsson | I welcome mail encrypted with PGP/GPG!
 keyid & fingerprint in headers
 visit http://www.gnupg.org for more info

Attachment: msg24591/pgp00000.pgp
Description: PGP signature

Reply via email to