[Linux-disciples] "Pattern not found" in vim

Stephen R Laniel steve at laniels.org
Sat Jun 25 12:34:28 EDT 2005


I've just added a BufWrite command to my .vimrc:

	au BufWrite */posts/*.txt :%s/``\|''/"/g

If the pattern "``\|''" is not found anywhere within the
file, vim flashes a red error message along the status bar.
I'd like to turn off this error message, because it's not a
valuable error and it's a bit scary to see a red message
flash by. Does anyone know how to turn off that error, at
least at specific times (e.g., when the BufWrite event is
fired)?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050625/993da7fa/attachment.pgp


More information about the Linux-disciples mailing list