János Illés wrote:
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.
Thanks Aaron and Janos: I found it in /etc/virc, I made the change as follows and all is well: " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. if &t_Co > 2 || has("gui_running") syntax on " set hlsearch endif -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com