Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I somehow goofed up VIM highlighting...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Rucker
n00b
n00b


Joined: 30 Oct 2002
Posts: 25

PostPosted: Fri Mar 21, 2003 7:55 pm    Post subject: I somehow goofed up VIM highlighting... Reply with quote

I opened a C++ source file with VIM and started to type but forgot to hit the 'i' key first. Now it always highlights the word "include" in a wierd orange color. I don't know what I did or how to fix it. Any ideas?
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Fri Mar 21, 2003 8:11 pm    Post subject: Reply with quote

Check if you have hlsearch enabled?
Code:
:set hlsearch

With hlsearch search result are highlighted.

To get the highligting away there are 2 methods:
Code:
:set nohlsearch

or
Code:
/afsdfasd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum