View previous topic :: View next topic |
Author |
Message |
Nicolinux Apprentice
Joined: 22 Dec 2002 Posts: 204
|
Posted: Thu Apr 22, 2004 2:53 pm Post subject: How to get rid of vim's search hilighting thing? |
|
|
Hi,
I'am using vim 6.x and noticed that every time when I search something in a file it hilights the result with a bright yellow color that is very unreadable and annoying. Tried ":syntax off" but this turns off only the colors not the ugly search hilight.
Anyone knows how to get rid of this?
Thanks much
Stefan |
|
Back to top |
|
|
rex123 Apprentice
Joined: 21 Apr 2004 Posts: 272
|
Posted: Thu Apr 22, 2004 3:05 pm Post subject: How to get rid of vim's search hilighting thing? |
|
|
or, to remove it just until the next search,
Or - if you like it really, but want to change the colour, have a look at
Or or change the colour of the search highlight group (for the more adventurous) |
|
Back to top |
|
|
Nicolinux Apprentice
Joined: 22 Dec 2002 Posts: 204
|
Posted: Thu Apr 22, 2004 5:04 pm Post subject: |
|
|
So many options
Thanks.
What should I do to remove it forever? Put "nohlsearch" in ~/.vimrc ?
Stefan |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Thu Apr 22, 2004 6:40 pm Post subject: |
|
|
No, put :set nohlsearch in it.
I just got used to doing :noh when I see the highlights and don't want them - the highlighting can be useful. _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
dice Guru
Joined: 21 Apr 2002 Posts: 577
|
Posted: Thu Apr 22, 2004 7:43 pm Post subject: |
|
|
Oh man, I'd been wondering how to turn that off. Thanks a bunch |
|
Back to top |
|
|
myuser Apprentice
Joined: 31 Jan 2004 Posts: 218
|
Posted: Sat May 01, 2004 9:19 pm Post subject: |
|
|
well you can use my approach which is something like:
/dfhkudfshgkghkdf
that tends to get rid of the highlighting, substitute with your own random key clicks |
|
Back to top |
|
|
|