LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2003, 05:14 AM   #1
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Rep: Reputation: 15
vi editor question


hello,

This is a very simple or may be a silly question. In vi editor when i search for a text using '/wordtobesearched', if the word is found it shows in brown color. And that is highlighted always. sometimes it is very irritating.... could anyone tell how to disable that?

thanks....
 
Old 09-22-2003, 05:37 AM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Not sure about vi but the ViM FAQ's :

http://vimdoc.sourceforge.net/vimfaq.html

note:

10.1. After I searched for a text with a pattern, all the matched text
stays highlighted. How do I turn off the highlighting
temporarily/permanently?
 
Old 09-22-2003, 11:29 AM   #3
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
I use a simpler approach myself. Try to search for a word that doesn't exist in the file and the highlights will go off.

My favourite is: /hahaha
(You seldom find this in serious documents )
 
Old 09-22-2003, 11:55 AM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
:set nohlsearch
 
Old 09-23-2003, 01:22 AM   #5
oskernel
LQ Newbie
 
Registered: Sep 2003
Location: China
Posts: 25

Rep: Reputation: 15
mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C editor MassiveBlood Linux - Software 3 10-16-2004 08:24 AM
Vi editor tmurray Linux - General 5 03-12-2004 10:33 PM
Question on the DCOP interface to KDE Advanced Text Editor (Kate) Laurene Linux - Newbie 0 02-25-2004 01:29 PM
vi editor wc question maelstrombob Linux - Newbie 2 11-09-2003 07:57 PM
Vi Editor BittaBrotha Linux - Software 1 02-09-2003 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration