[arch-general] vi went Orange on me?? Never seen it before -- what is it?

János Illés ijanos at gmail.com
Tue Apr 21 14:40:42 EDT 2009


>
>        I'm kind of chuckling at this one. I did a simple substitution in vi on
> 2009.02 to comment out a few samba shares I wasn't going to use from a smb.conf
> I copied over. I simply used ':35,72s/^/# /' and then -- Orange appeared over
> all the comments and leading whitespace in the file. See (38k):
>
>
>        Any thoughts on this one are welcomed. Thanks.
>

Hi.

You have turned on hlsearch, which is matching every /^/ and showing
it to you. You can hide the orange hilight with the :nohl[search]
command every time it appears or turn of hlsearch for good in your
vimrc file.

-- 
IJ


More information about the arch-general mailing list