Re: vi went Orange on me?? Never seen it before -- what is it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>
>        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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux